This section describes particular issues around using datetime database fields via Common SQL.
See also Types of values returned from queries for information specifically about returning datetime values from MySQL.