Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- UTC Timestamp into MySQL
January 3, 2007, 1:50 pm
rate this thread
a MySQL database. The MySQL field is of type datetime. The statement I
first tried to generate a value for the field is:
Then, I tried:
Both resulted in a timestamp in the local timezone. What I wish to do is
place the timestamp into UTC, so when later displayed in a browser it can be
converted to a local TZ.
Thanks for your help!
Re: UTC Timestamp into MySQL