Koha::DateTime::Format::SQL - Parse SQL dates
$datetime = Koha::DateTime::Format::SQL->parse_datetime($sql_datetime_string);
Parse an SQL datetime string and returns a corresponding DateTime object
$datetime = Koha::DateTime::Format::SQL->parse_datetime($rfc3339_datetime_string);
DateTime's time zone is automatically set to the configured timezone (or 'local' if none is configured), unless the year is 9999 in which case the timezone is 'floating'.