How to Change Date Format to dd MMM yy

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

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

MMM should be in upper case only.

Regards,
SP

@Pradeep

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

tq @SantoshPothina