Skip site navigation (1) Skip section navigation (2)

Undocumented datetime functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-docs(at)postgresql(dot)org
Subject: Undocumented datetime functions
Date: 2001-02-15 03:58:43
Message-ID: 743.982209523@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-docs
The following date/time related functions are not documented in the
obvious place for them, namely
http://www.postgresql.org/devel-corner/docs/postgres/functions-datetime.htm

now()
CURRENT_DATE
CURRENT_TIME
CURRENT_TIME(n)
CURRENT_TIMESTAMP
CURRENT_TIMESTAMP(n)
EXTRACT(part FROM datetime)	--- ANSIfied version of date_part

BTW, it seems that date_part accepts rather more options than are
documented on this page, as well.

			regards, tom lane

Responses

pgsql-docs by date

Next:From: Alfonso PenicheDate: 2001-02-15 15:26:25
Subject: Re: temp table creation
Previous:From: Tom LaneDate: 2001-02-15 01:54:51
Subject: Re: temp table creation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group