Liquid Studio 2021
In This Topic
    ToUTC
    In This Topic

    Function Name
    ToUTC
    Category
    DateTime
    Icon
    Description
    Return the DateTime as a UTC time
    Inputs
    DateTime A value of type Date, DateTime, or Time
    Outputs
    Local The input value converted to UTC
    Properties
    None -

    Usage

    Converts the input Date, DateTime, or Time to a representation in UTC time.

    If the current Time Zone is +03:00, then ToUTC yields the following results

    Input Output
    11:27:42+00:00 11:27:42Z
    11:27:42+01:00 10:27:42Z
    11:27:42Z 11:27:42Z
    11:27:42

    08:27:42Z

     

     

     

    See Also