Function Day() Foundation
Returns the day of a date value as a numeric value.
Day( <dDate> ) --> nDayOfMonth
The function Day() returns an integer numeric value in the range of 0 to 31. Leap years are taken into consideration. When the date argument is February 29 and the year is not a leap year or when <dDate> is empty, Day() returns the value zero.
A date value is converted to the numeric calender day with the function Day(). The function is used together with the CMonth() and Year() for formatting dates. It is also frequently used in date calculations.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.