Date Intrinsic Functions - AsDays Method

Return the date as the number of days since 01/01/00

Member of Date Intrinsic Functions (PRIM_LIBI.IDateIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)IntegerResulting number

Details

AsDays returns the number of days since 01-01-0000 for the supplied date.

Example

This example will return a value of 731945 for the date 2004-12-31.
#NoofDays := #Today.AsDays

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2