datetime sample code?
datetime sample code?
От:
Ramanika <ramanika@flashmail.com>
Дата:
I am looking for sample datetime functions but could not find them in the manuals. I want to get the current datetime from the system and insert into a table. I want to select out parts of datetime like hours only or time only or date only. I know this must be possible I just need some examples. thanks ramanika
Re: [SQL] datetime sample code?
От:
Herouth Maoz <herouth@oumail.openu.ac.il>
Дата:
At 04:36 +0300 on 04/08/1999, Ramanika wrote: > I am looking for sample datetime functions but could not find them in > the manuals. > I want to get the current datetime from the system and insert into a > table. > > I want to select out parts of datetime like hours only or time only or > date only. I know this must be possible I just need some examples. Look in the PostgreSQL user guide, page 41 (It's in chapter 5, functions). Herouth -- Herouth Maoz, Internet developer. Open University of Israel - Telem project http://telem.openu.ac.il/~herutma