• One of my latest experience has been to show the correct date time to russian guys.

    In order to manage the right local date for each country I have done the following 3 simple steps:

    1. Store the date in GMT format (Greenwich Mean Time)
    2. Declare the momentJS in my webpage
    3. Use the momentJS function to convert the date

    Browser will do a right conversion


  • Some useful snippets for the Hypertext Preprocessor or better knows as PHP.