In our project we use Zend Framework Model generator, which produces something like this to set the properties that are stored in DB (MySQL) as DATETIME fields:
By default MySQL use ISO9075 format for datetime
The possible values for the first and second arguments result in several possible format strings (for the specifiers used, see the table in the DATE_FORMAT() function description). ISO format refers to ISO 9075, not ISO 8601.
http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_get-format