SRSReportParameter.convertToUtcDateTimeFormat Method [AX 2012]

Converts a string value that contains a date and time to a UtcDateTime string value.

Syntax

private str convertToUtcDateTimeFormat(str value)

Run On

Called

Parameters

  • value
    Type: str
    The string to be converted to a utcDateTime value.

Return Value

Type: str
A UtcDateTime value in string form.

Remarks

Note that this method can be used only when the property of the typeOfDataType parameter equals the Types::UtcDateTime enumeration value. The parameter value will contain the letter T only if the string is in the form of a UtcDateTime value, example yyyy-mm-ddThh:mm:ss.

See Also

Reference

SRSReportParameter Class