Date Intrinsic Functions - AsString Method

Return the variable as a string

Member of Date Intrinsic Functions (PRIM_LIBI.IDateIntrinsics)

Parameters

Name Type Data Type Description
Result *Result (Optional) String Resulting string

Details

AsString returns the date as an unformatted string.

Example

In this example, if #Today was 2014-31-12, the result would be "2014-12-31"
#Result := #Today.asstring

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020