
Convert the variable to a formatted string
Member of Time Intrinsic Functions (PRIM_LIBI.ITimeIntrinsics)
Parameters
Name | Type | Data Type | Description |
---|---|---|---|
Result | *Result (Optional) | String | Resulting string |
Format | *Input (Optional) | Enumeration | Format of the time |
Details
AsDisplayString returns the supplied time formatted using one of the available supplied time formats.
Allowed Formats
Enum Value | Description |
---|---|
HHMMSS | e.g. "123456" |
HHsMMsSS | e.g. "12:34:56" |
ISO | e.g. "12:34:56" |
Example
In this example, the time 12:34:56 would return the value "123456"
#Result := #Time.AsDisplayString( HHMMSS )
See also
LANSA Version 15, April 2020