getting the current date
getting the current date
От:
Joseph Syjuco <joseph@asti.dost.gov.ph>
Дата:
how can i get the current date (without the time part) in sql. I tried doing a select now() but it also gives me the time part TIA joseph
Re: getting the current date
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Joseph Syjuco wrote: > > how can i get the current date (without the time part) in sql. I tried > doing a select now() but it also gives me the time part test=> SELECT CURRENT_DATE; date ------------2002-10-17 (1 row) -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
Re: getting the current date
От:
Ludwig Lim <lud_nowhere_man@yahoo.com>
Дата:
--- Joseph Syjuco wrote: > > how can i get the current date (without the time > part) in sql. --> try SELECT current_date(); ludwig. __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com