postgres datetime now

Solutions on MaxInterview for postgres datetime now by the best coders in the world

showing results for - "postgres datetime now"
Erik
01 Apr 2016
1/*
2The NOW() function returns the current date and time.
3The return type of the NOW() function is the timestamp with time zone.
4See the following example:*/
5
6SELECT NOW();
7/*-------------------------------*/
82017-03-18 08:21:36.175627+07
9/*
10Note that the NOW() function returns current date and time based on
11the database server’s time zone setting.*/