Australia Date Formats in Reports

I have been struggling to format the date such as NOW() and TODAY() in an Australia format when using a Document Template to generate a Scheduled Report. Even by changing the locale of the tables or changing the document properties it didnโ€™t make any difference. So I ended up creating the following. There are probably better ways as Iโ€™m not a programmer so Iโ€™m open to improvements. Hopefully, this will help someone else:

<<IF(DAY(NOW())<10, CONCATENATE("0", DAY(NOW())),DAY(NOW()))>>/<<IF(MONTH(NOW())<10, CONCATENATE("0", MONTH(NOW())),MONTH(NOW()))>>/<<SUBSTITUTE(YEAR(NOW()),โ€,โ€,โ€โ€)>>
Solved Solved
0 3 457
1 ACCEPTED SOLUTION

Steve
Platinum 4
Platinum 4

How about:

<<RIGHT(("0" & DAY(NOW())), 2) & "/" & RIGHT(("0" & MONTH(NOW())), 2) & "/" & (YEAR(NOW()) & "")>>

View solution in original post

3 REPLIES 3

Wellโ€ฆ thatโ€™s okay.

Steve
Platinum 4
Platinum 4

How about:

<<RIGHT(("0" & DAY(NOW())), 2) & "/" & RIGHT(("0" & MONTH(NOW())), 2) & "/" & (YEAR(NOW()) & "")>>

Much nicer, thanks Steve!

Top Labels in this Space