Skip to content

NOW

SELECT NOW() as CurrentDateAndTime;
+---------------------------+
| CurrentDateAndTime |
+---------------------------+
| 2022-05-25 13:31:20 |
+---------------------------+

The NOW() function in SQL returns the current date and time. This function is commonly used to record the time of an event.