GMT to Local Time

The time() function always returns Greenwich Mean Time (GMT). Unless your in the UK, a different time reference is needed. This video provides some simple code to make the conversion. Use this code snippet again and again. Anytime you need to get the time and date…in any time-zone.

Share This:
Facebooktwittergoogle_plusredditpinterestlinkedintumblrFacebooktwittergoogle_plusredditpinterestlinkedintumblr

Leave a Reply