MySQL Forums
Forum List  »  Newbie

Timestamp trouble
Posted by: Daniel Louis
Date: January 03, 2015 04:43PM

Whenever I insert a field in a table using the MySQL Workbench the timestamp works perfectly - inserting the correct (current) date and time in the timestamp field.

However, whenever I insert a field using a PHP form, the timestamp inserts a date 5,042 days prior to the current date.

Where's that discrepancy coming from? The web server? and how might I fix that?

Options: ReplyQuote


Subject
Written By
Posted
Timestamp trouble
January 03, 2015 04:43PM
January 03, 2015 04:45PM
January 05, 2015 11:14AM
January 06, 2015 12:45AM
January 06, 2015 03:24AM
January 06, 2015 11:37AM


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.