Formats a date/datetime value based on the format string. If the input value was null/empty/a non-date object, the input is returned as is.
How to use, Let's say, you have a DateTime field in Marketo such as System.DateTime and you want the month to me used in your email, Pass a DateTime value like '2016-12-31 15:00:01' and a format string as 'F', you get the month 'December'. a format string as 'm/d/Y', you get back 12/31/2016 a format string as 'm/d/Y
|