Oracle DATE type data represents date in the format YYYY-MM-DD, where YYYY represents the year, MM represents the month, ranging from 01 to 12, and DD represents the date, ranging from 01 to 31. For example, 2023-03-08 means March 8, 2023.
How to write DATE type data in Oracle
DATE type data in Oracle represents date, the format isYYYY-MM-DD
. Among them:
YYYY
represents the year, two digits or four digits MM
represents the month, two digits, the range is 01 to 12DD
represents the date, two digits, ranging from 01 to 31Example
2023-03-08
means March 8, 2023 1999-12-31
means December 31, 1999Note:
The above is the detailed content of How to write date type data in oracle. For more information, please follow other related articles on the PHP Chinese website!