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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

date('now') returns 1 year from now?



Plz forgive me if I'm missing something obvious.  I just entered "select
date('now') into psql and got the following:

apx2=> select date('now');
      date
----------
12-31-1999
(1 row)

Clearly today is not the last day of 1999.

The system date (`date` in the shell returns "Wed Dec 30 16:51:03 PST
1998") is correct.

(I'm running Postgres 6.4 on Linux 2.0.35.)

Thanks,
Charlie



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group