Change date format

studio

#1

Hi,

i’m using: Date.Now.AddDays(1 - Date.Now.Day).AddMonths(-1).ToShortDateString

when executing i’m getting MM/DD/AAAA, i want it at DD/MM/AAAA format!


#2

HI @abdel,

Date.Now.AddDays(1 - Date.Now.Day).AddMonths(-1).ToString("dd/MM/yyyy")

Regards, Arivu :slight_smile:


#3

i got: 01/50/aaaa :open_mouth: