📜  postgres datetime now - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:22.444000             🧑  作者: Mango

代码示例2
/*
The NOW() function returns the current date and time.
The return type of the NOW() function is the timestamp with time zone.
See the following example:*/

SELECT NOW();
/*-------------------------------*/
2017-03-18 08:21:36.175627+07
/*
Note that the NOW() function returns current date and time based on
the database server’s time zone setting.*/