Problem [dateshort] - Forum

Forum Navigation
Climate strike banner
You need to log in to create posts and topics.

Problem [dateshort]

I have a problem when I create a current date with [datashort] creates me this date Sat. 03.08.2019 while I would like in the format 03.08.2019 or 03/08/2019, Who can help me? thank you.

Hello,

You could StrParse the [DateShrt] into its parts and recombine them.

Or you may use the other global variables:

[DayNum]+[MonthNum]+[Year]

You may check the StrLen of [DayNum]+[MonthNum] to add a leading Zero.

Regards