Answers for "now postgresql"

SQL
0

postgres datetime now

/*
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.*/
Posted by: Guest on July-02-2021
1

postgre query date

SELECT * FROM data WHERE date = '2020-12-21'
Posted by: Guest on September-15-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language