Share via


RetailTransactionService::dateToDateTimeStringWithOffset Method [AX 2012]

Convert a date value to a standard datetime string format plus offset based on timezone setting of the current leagl entity.

Syntax

client server public static str dateToDateTimeStringWithOffset(date theDate, RecId channelId)

Run On

Called

Parameters

  • theDate
    Type: date
    Date to convert to string with osffset.

Return Value

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

See Also

Reference

RetailTransactionService Class