pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
datetime sample code?
2+ messages / 2 participants
[nested] [flat]

* datetime sample code?
@ 1999-08-04 01:36  Ramanika <ramanika@flashmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Ramanika @ 1999-08-04 01:36 UTC (permalink / raw)
  To: pgsql-sql

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [SQL] datetime sample code?
@ 1999-08-04 09:22  Herouth Maoz <herouth@oumail.openu.ac.il>
  parent: Ramanika <ramanika@flashmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Herouth Maoz @ 1999-08-04 09:22 UTC (permalink / raw)
  To: Ramanika <ramanika@flashmail.com>; +Cc: pgsql-sql

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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1999-08-04 09:22 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-08-04 01:36 datetime sample code? Ramanika <ramanika@flashmail.com>
1999-08-04 09:22 ` Herouth Maoz <herouth@oumail.openu.ac.il>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox