The date and time formatting characters in a FORMAT phrase determine the output of DATE, TIME, and TIMESTAMP information.
IF the data type is … | THEN use formatting characters for … |
---|---|
|
date information. For Period types, the specified format is associated with both the beginning and ending bounds of the period. |
|
time information. For Period types, the specified format is associated with both the beginning and ending bounds of the period. |
|
date and time information. Date formatting characters must be grouped separately from time formatting characters. For Period types, the specified format is associated with both the beginning and ending bounds of the period. |
Formatting characters are case-insensitive.