Hi Everyone,
I know how to use utcnow to make the current date as DD/MM/YY.......11/02/2020 with the expression @formatDateTime(utcnow(), 'dd-MM-yyyy')
But is it possible to make the date format as DDMMMYYYY, for example, 24OCT2019
Hope Flow can do this, thanks.
Regards,
ilu989
Hi @efialttes ,
Thanks for your instruction, that's work and amazing!
@formatDateTime(utcNow(), 'ddMMMyyyy')
Regards,
ilu989
Hi @ilu989 ,
Please try the methods provided by @efialttes to achieve the requirements. I tested it on my side and this method fits your needs.
Best Regards,
Hi
According to the documentation formatDateTime() supports "Either a single format specifier or a custom format pattern. The default format for the timestamp is "o" (yyyy-MM-ddTHH:mm:ss:fffffffK), which complies with ISO 8601 and preserves time zone information."
So, if we use custom format pattern, in theory it should be possible to request the following format
formatDateTime(utcNow(), 'ddMMMyyyy')
If you need it in capital letters, try with
toUpper(formatDateTime(utcNow(), 'ddMMMyyyy'))
Hope this helps