Skip to main content
Version: 20 R7 BETA

Day of

Day of ( date ) : Integer

ParameterTypeDescription
dateDateDate for which to return the day
Function resultIntegerDay of the month of date

Description

The Day of command returns the day of the month of aDate.

Note: Day of returns a value between 1 and 31. To get the day of the week for a date, use the command Day number.

Example 1

The following example illustrates the use of Day of. The results are assigned to the variable vResult. The comments describe what is put in vResult:

 vResult:=Day of(!12/25/92!) // vResult gets 25
 vResult:=Day of(Current date) // vResult gets day of current date

Example 2

See the example for the Current date command.

See also

Day number
Month of
Year of