pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Herouth Maoz <herouth@oumail.openu.ac.il>
To: Ramanika <ramanika@flashmail.com>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] datetime sample code?
Date: Wed, 4 Aug 1999 12:22:53 +0300
Message-ID: <l03130300b3cdb62d5bcc@[147.233.159.109]> (raw)
In-Reply-To: <37A7991B.35CDB969@flashmail.com>

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





view thread (2+ messages)

Message-ID: <l03130300b3cdb62d5bcc@[147.233.159.109]>
Permalink:  ../l03130300b3cdb62d5bcc@%5B147.233.159.109%5D/
Also on:    postgresql.org/message-id/l03130300b3cdb62d5bcc@[147.233.159.109]

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: herouth@oumail.openu.ac.il, ramanika@flashmail.com
  Subject: Re: [SQL] datetime sample code?
  In-Reply-To: <l03130300b3cdb62d5bcc@[147.233.159.109]>
  References: <37A7991B.35CDB969@flashmail.com> <l03130300b3cdb62d5bcc@[147.233.159.109]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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