How to Change Date Format to dd MMM yy

studio

#1

Hi,
can i know how to change date format like 03 Jan 18


#2

Hey @pradeep_ch ,
Check this
DateTime.now.tostring(“dd MMM yy”)

MMM should be in upper case only.

Regards,
SP


#3

@Pradeep

for this format “03 Jan 18” now.tostring(“dd MMM yy”).tostring
For "03 January 2018 " now.tostring(“dd MMMM yyyy”).tostring


#4

tq @SantoshPothina