mariadb

  • From UTC to Local Time Zone

    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