Date time is very extremely important if we will build critical application, so we must special attention for it. Handling date time properly in our program is more complicated than handling strings or numbers variable. Because date time is not a single value but a collection of values, such day, month, year, hour, minute and second. In this discussion, we will share the best practical, how we handling date time in our application.

In the programming convention, date time calculation is to treat a particular time and date as a single value, the number of seconds that have elapsed since midnight on January 1, 1970. It’s called an epoch timestamp. … continue reading : The Best Practice for Handling Date Time in PHP.