SRSReportParameter.strToLocalDateTime Method [AX 2012]

Converts the report value string to a utcDateTime value.

Syntax

public utcdatetime strToLocalDateTime()

Run On

Called

Return Value

Type: utcdatetime
A utcDateTime value that represents the report value in the current local format.

Remarks

Note that this method can be used only when the property of the typeOfDataType parameter equals the Types::UtcDateTime enumeration value.Converts a report parameter string representation from either an ISO format or local format.Example: 2007-07-20T13:45:00 or to 20-07-2007 13:45:0.

See Also

Reference

SRSReportParameter Class