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

Name

Type

Data Type

Description

Result

*Result (Optional)

Integer

Resulting 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

  • No labels