Syntax
SYSDATE(fsp)
Purpose
You can call this function to return the current date and time in the %Y-%m-%d %H.%i.%s format.
The fsp argument specifies the precision of return value, which means the number of digits of the fractional part. Valid values are an integer from 0 to 6. Default value: 0.
Examples
obclient> SELECT SYSDATE();
+---------------------+
SYSDATE()
+---------------------+
2021-07-15 14:10:06
+---------------------+
1 row in set (0.00 sec)