pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: HenrikP@mail.ikasths.dk
To: pgsql-sql@postgreSQL.org
Subject: Datetime field
Date: Thu, 17 Sep 1998 10:46:51 +0000
Message-ID: <3600DAA3D3.371DHENRIKP@mail.ikasths.dk> (raw)

Hi all...


In a database i have created a datetime field.. its works fine, but is
there someway i can get the result back in "normal" date format
instead of this "Wed Aug 19 00:00:00 1998 MET DST".

I need to use it in my program, so i need it in the normal datetime format:
wich is : 08-19-98 00:00:00

By the way, im programming in Perl, so if anyone know a funktion to
convert it back, that could be helpfull too


Yours Sincerely

Henrik Pedersen
--



view thread (2+ messages)  latest in thread

Message-ID: <3600DAA3D3.371DHENRIKP@mail.ikasths.dk>
Permalink:  ../3600DAA3D3.371DHENRIKP@mail.ikasths.dk/
Also on:    postgresql.org/message-id/3600DAA3D3.371DHENRIKP@mail.ikasths.dk

 · 

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: HenrikP@mail.ikasths.dk
  Subject: Re: Datetime field
  In-Reply-To: <3600DAA3D3.371DHENRIKP@mail.ikasths.dk>
  References: <3600DAA3D3.371DHENRIKP@mail.ikasths.dk>

* 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