Vertica supports the full set of SQL date and time types. 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. However, in compliance with the SQL standard, Vertica also supports the TIME WITH TIMEZONE
data type.
Notes
NOW
to specify the current date and time. For example:SELECT TIMESTAMP 'NOW';