You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Number Intrinsic Functions - AsDate Method
Return a number as a date
Member of Number Intrinsic Functions (PRIM_LIBI.INumberIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Date

Resulting date

Format

*Input (Optional)

Enumeration

Format of the date

Details


AsDate will return a date based on the value of the variable and the specified format.
If the supplied value does not conform to the required format, the application will end with a run-time error. Use the IsDate intrinsic to test the value before attempting to convert to a date.

See also

All Component Classes
Technical Reference

  • No labels