Format date in email notification

lawrence whittemore asked on July 30, 2020 20:28

I'm sure this is really simple, but how would a format a date in an email notification?

Recent Answers


Brenden Kehren answered on July 31, 2020 00:03

Check this out. Maybe the ToDateTime() method will work for you or even the ToShortDateString() method.

0 votesVote for this answer Mark as a Correct answer

Kadir Ergün answered on July 31, 2020 19:26

Hi Lawrence,

Based on answer of Anton,

ToShortDateString() Macro Method Formatting

String.FormatString("{0:MM.dd.yyyy}", DateTime.Now) |(identity)GlobalAdministrator

Returns 07.31.2020

You can control this macro in System Application -> Macros -> Console

Image Text

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.