SQL NOW()

SQL NOW() returns the current date and time.

Example

mysql> SELECT NOW();
+———————+
| NOW()               |
+———————+
| 2007-05-30 14:47:17 |
+———————+
1 row in set (0.04 sec)

Share