OceanBase Database supports date and time operators, which are equivalent to specific date and time functions.
The following table describes the date and time operators supported in the current version of OceanBase Database.
Here is an example:
obclient> SELECT '2008-12-31 23:59:59' + INTERVAL 1 SECOND;
+-------------------------------------------+
| '2008-12-31 23:59:59' + INTERVAL 1 SECOND |
+-------------------------------------------+
| 2009-01-01 00:00:00 |
+-------------------------------------------+
1 row in set
