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)


NameTypeData TypeDescription
Result*Result (Optional)IntegerResulting number


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


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