MySQL Forums
Forum List  »  General

Where does MySQL get time from?
Posted by: Richard Creer
Date: March 31, 2020 06:03AM

Where does MySQL get the time of day from?

If I change the Windows (7) time to, say, 12 hours ago and execute SELECT UTC_TIMESTAMP(), NOW() I still get the actual, and arguably correct, time.

That's good for keeping the database accurate but less helpful when testing.

TIA

Options: ReplyQuote


Subject
Written By
Posted
Where does MySQL get time from?
March 31, 2020 06:03AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.