[CONNECT Update 16] Obtain formatted date with Named Expression

I have written a Named Expression that gets the date in its raw format (like this 05/10/2021 17:20:32).  The expression uses the System.DateTime symbol set with the Now() function...

Named Expression CurrentDateTime

I'd like two more Named Expressions: one that returns just the formatted date (e.g. Oct 4, 2021) and one that returns just the formatted time (e.g. 5.10 pm).  I've tried formatting unsuccessfully with System.String.  What's the right way to go about formatting a date in a Named Expression?

Parents Reply Children
No Data