Day of

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 3


Day of (date) Number

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

Description

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

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.

Examples

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

2. See the example for the command Current date.

See Also

Day number, Month of, Year of.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next