Function | Parameters | Description |
Age | Age(dateOfBirth, dateAsAt) | Returns the age in years as calculated from dateOfBirth to dateAsAt or the current date if omitted. |
Bom | Bom(date) | Returns the date as at the beginning of the month. |
Date | Date(year, month, day) | Returns a date. |
DateAdd | DateAdd(interval, value, date) | Returns a date. |
DateSerial | DateSerial(year, month, day) | Returns a date. (This is exactly the same as the Date function.) |
Day | Day(date) | Returns the day of the month, a number from 1 to 31. |
Eom | Eom(date) | Returns the date as at the end of the month. |
Eomp | Eomp(date) | Returns the date as at the end of the previous month. |
Hour | Hour(date) | Returns the hour as a number from 0 (12 A.M) to 23 (11 P.M). |
Minute | Minute(date) | Returns the minute as a number from 0 to 59. |
Month | Month(date) | Returns the month as a number from 1 (January) to 12 (December). |
MonthName | MonthName(month, abbreviate) | Returns the name of the month. |
Now | Now() | Returns the current date and time. |
Second | Second(date) | Returns the second as a number from 0 to 59. |
Year | Year(date) | Returns the year as a number. |