Share via


RetailTransactionService::utcDateTimeToDateTimeStringWithOffset Method [AX 2012]

Convert a utc datetime value to a standard datetime string format plus offset based on timezone setting of the UTC.

Syntax

client server public static str utcDateTimeToDateTimeStringWithOffset(utcdatetime theDateTime)

Run On

Called

Parameters

  • theDateTime
    Type: utcdatetime
    UtcDateTime to convert to string with offset.

Return Value

Type: str
Date in string format "dd-mm-yyyy" + OffsetMinutes.

See Also

Reference

RetailTransactionService Class