4 ms·
Yeah, that's kind of an issue with the ANSI standard. It specifically allows time with time zone. Some RDBMSs only support datetimes (timestamps) with time zo
by da_chicken 8y ago
Yeah, that's kind of an issue with the ANSI standard. It specifically allows time with time zone.
Some RDBMSs only support datetimes (timestamps) with time zone, but if you want to aim for complete ANSI compliance you're supposed to allow time with time zone. PostgreSQL, which allows that data type, specifically points out in the doc that you shouldn't use it:
> The type `time with time zone` is defined by the SQL standard, but the definition exhibits properties which lead to questionable usefulness. In most cases, a combination of `date`, `time`, `timestamp without time zone`, and `timestamp with time zone` should provide a complete range of date/time functionality required by any application.
https://www.postgresql.org/docs/current/static/datatype-datetime.html https://www.postgresql.org/docs/current/static/datatype-date...