How do I take a Zulu/GMT/UTC time like 1643 and convert it to a local time like 8:00PM? Also, how would I convert a Zulu/GMT/UTC time like 1643 to a UNIX timestamp? Do I need to know the month, day, and year before I can convert the UTC time to a local time?? I'm so confused. I'm thinking I may need to use gmmktime, but I'm not really sure. Please include a code snippet. Thanks.
I'd love to know what timezone you're in if 16:43 UTC is 20:00 local time 🙂
strtotime() knows plenty of timezones (although it's not - and cannot be - complete).
Bonus code snippet:
echo date('Y-m-d H:i:s', strtotime('2004-09-16 20:05:12 UTC'));