Hi, can anyone tell me how i convert this MAR-20-2021 pattern into 20210320
@Anjali_Rani - Are you going to try in StudioX or Studio?? if its Studio…Please change your question category to Studio…
Hi Anjali,
User this expression :
datetime.parseexact(datestring,“MMM-dd-yyyy”,system.globalization.culturalinfo.invariantculture).tostring(“yyyyMMdd”)
Let me know in case of any question.
Regards,
Sahil
ok sure.
Thank You so much.
@Anjali_Rani - This would also do…shorter version…
CDate(“MAR-20-2021”).ToString(“yyyyMMdd”)
Thankyou.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.