Converting a user inputed time and date to GMT time

Posted by Ben Sinclair on Stack Overflow See other posts from Stack Overflow or by Ben Sinclair
Published on 2010-04-08T06:52:10Z Indexed on 2010/04/08 6:53 UTC
Read the original article Hit count: 258

Filed under:

This is probably a simple answer. I searched but couldn't find what I was looking for...

If someone in the GMT + 10 time zone inputs a date (e.g: 2010-08-01 23:09:33) which I then convert to a TIMESTAMP (strtotime()), how do I convert that to GMT time?

© Stack Overflow or respective owner

Related posts about timezone