This class is meant to perform the conversion of formats date and time between the Unix timestamp values and the ISO format used by MySQL and other databases.
The goal is to simplify the manipulation of date and time values that are used in calculations and later are stored in database fields.
With this class is it possible to convert a date and time field into a (ISO or UNIX) timestamp and vice-versa.
The class tests whether the date and time values are valid before converting.