DateGetDay

See Also: Time and Date Functions

Purpose

The DateGetDay function returns the day of the month component of the given DateTime variable dtVar.

Return Type

Integer

Syntax

DateGetDay( {dtVar} )

Where:

Example

Procedure testDateGetDay

    DateTime dtVar

 

    //Get the current local date and time

    Move (CurrentDateTime()) To dtVar

    Showln "The day of this month is: " (DateGetDay(dtVar))

End_Procedure