@device::formatDateTimeLocale

Format a dateTimeString to a recipient’s locale, including time zone. If the string cannot be parsed into a valid date, this method will return the string passed in.

Syntax:

@device::formatDateTimeLocale([String dateTimeString],[long dateTimeInMills])

Parameters:

Returns:

(String) DateTime formatted to the specified locale

Example: