Now

suggest change
SELECT Now();

Shows the current server date and time.

UPDATE `footable` SET mydatefield = Now();

This sets mydatefield on every row to the current date and time in the session time zone, not a time zone stored in the column. Add a WHERE clause unless you mean every row. For example:

'2016-07-21 12:00:00'

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents