PHP Date

This PHP class let you manage dates, time intervals, timezone conversions and format conversions.

Format supported are 3:
– “db”  : yyyy-mm-dd
– “ita” :  gg-mm-yyyy
– “iso” : yyyy-mm-ddThh:MM:ss.000

This class contains also methods to use when your PHP installation is using 32bit integers and so you can fall in the “year 2038 bug”, now allowing you to work on dates after year 2038 using internal functions. The native functions re-implemented as class methods are:
– date()
– strtotime()
– time()


Leave a comment