4D v14.3Day number |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
Day number
Day number
The Day number command returns a number representing the weekday on which aDate falls. Note: Day number returns 2 for null dates. 4D provides the following predefined constants, found in the "Days and Months" theme:
Note: Day number of returns a value between 1 and 7. To get the day number within the month for a date, use the command Day of. The following example is a function that returns the current day as a string: $viDay :=Day number(Current date) ` $viDay gets the current day number |
PROPERTIES
Product: 4D
HISTORY
Created: < 4D v6 SEE ALSO ARTICLE USAGE
4D Language Reference ( 4D v12.4) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||