• 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


  • PF Sense - Alias Not Used

    I created a script PHP in collaboration with COPILOT to find all aliases not used in the PF Sense file config.xml.


  • Snippets PHP

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