How to change date format?

Hi there,

I’m trying to change a date in the format of ‘06-03-2020’ (i.e. mm/dd/yyyy) to ‘03 June 2020’. How would I do this?

Thanks in advance.

dateString= ‘06-03-2020’

FormattedDateString=cdate(dateString).tostring(“dd MMM yyyy”)

i assume your date variable is a type of string

‘06-03-2020’ is a datetime variable.


Check as below
Convert Date & Time Format Tutorial

Hope this helps you


FormattedDateString=dateString.tostring(“dd MMM yyyy”)