String Intrinsic Functions - AsDate Method

Return a string as a date

Member of String Intrinsic Functions (PRIM_LIBI.IStringIntrinsics)


NameTypeData TypeDescription
Result*Result (Optional)DateResulting date
Format*Input (Optional)EnumerationFormat of the date


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

Febuary 18 V14SP2