$(ToLocal()) function is not changing timezone label

Version 1


    Using the $(ToLocal()) function does not change the timezone label and is confusing for end users.


    $(ToLocal(CreatedDateTime, "America/New_York))
    returns a DateTime value which is then implicitly converted to a string using the current "session" time zone. For Workflows this is always UTC.

    Instead use FormatDate:

    $(FormatDate(CreatedDateTime, "MM/dd/yyyy hh:mm tt", "America/New_York))

    This returns a string using the specified Timezone.