From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | jose soares <jose(at)sferacarta(dot)com> |
Cc: | Ed Loehr <ELOEHR(at)austin(dot)rr(dot)com>, kaiq(at)realtyideas(dot)com, "Ross J(dot) Reedstrom" <reedstrm(at)wallace(dot)ece(dot)rice(dot)edu>, Dale Anderson <danderso(at)crystalsugar(dot)com>, pgsql-general(at)postgreSQL(dot)org |
Subject: | Re: [GENERAL] Date & Time |
Date: | 1999-12-01 19:50:25 |
Message-ID: | 199912011950.OAA04319@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> Ed Loehr ha scritto:
>
> > Just curious: anyone have any comment on any practical differences between now() and CURRENT_TIMESTAMP, which seems to work
> > the same?
> >
>
> I think it is the same function, both of them return the current date and time.
>
> now() should be the internal postgreSQL function.
> and CURRENT_TIMESTAMP is the exact SQL-92 syntax
I am changing my book to use CURRENT_TIMESTAMP rather than now().
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Jason Leach | 1999-12-01 20:09:36 | The Ghost. |
Previous Message | Satyajeet Seth | 1999-12-01 18:51:34 | Except operation |