Date Functions
Function |
Description |
---|---|
Returns a datetime value resulting from adding a number of days to a date. |
|
Returns a datetime value resulting from adding a number of months to a date. |
|
Returns a datetime value resulting from adding a number of years to a date. |
|
Returns age as a day-month-year interval by subtracting a specified date from today's date. |
|
Returns the number of days since Jan 1, 1900 inclusive. The value returned is negative if the date is before 1900. |
|
Returns a numeric value for the day of the month from 1 to 31, from a date, datetime value, or interval. |
|
Returns the number of days to the last day of the month from a date or datetime value. |
|
Returns the first day of the month from a date or datetime value. |
|
Returns the last day of the month from a date or datetime value. |
|
Returns the month number as an integer from 1 to 12, from a date or datetime value. |
|
Returns the number of months between two dates. If the first date is later than the second date, then the result is a negative number. |
|
Returns the current date according to the date set on your computer. |
|
Returns the year from the date. |
|
Returns the number of years from one date to another date. |