September 2000
Intermediate to advanced
418 pages
11h 5m
English
Date functions operate on dates or return date values. Some of the functions return the current date and time, truncate a date/time value to a specific unit, or compute the number of months between two dates.
Many examples in the section use the TO_CHAR and TO_DATE functions. These date conversion functions accept date format strings as arguments. To keep the examples as simple to read as possible, I've assumed that the default date format is `dd-Mon-yyyy'. In some examples in which a different format is used (to include time, for example), the example begins with an ALTER SESSION command.