PostgreSQL · Function
now
In PostgreSQL, now and now() mean the current date and time at the start of the current transaction. Other functions provide statement-start time, actual wall-clock time, or formatted text.
Last updated
Syntax
now() → timestamp with time zone
transaction_timestamp() → timestamp with time zone
statement_timestamp() → timestamp with time zone
clock_timestamp() → timestamp with time zone
timeofday() → textIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
CURRENT_TIMESTAMPnow()transaction_timestamp()statement_timestamp()clock_timestamp()timeofday()TIMESTAMP 'now'