From: Forgacs Tamas <forgacs@negral.com>
To: pgsql-sql@postgresql.org
Subject: DATE formatting problem again
Date: Tue, 29 Feb 2000 14:29:54 +0100
Message-ID: <38BBC9D2.DCB94658@negral.hu> (raw)
Hello,
I am searching after the date formatting solution, but didn't found a
correct one.
So example ORACLE has
- to_char function to make any kind of date format from a date type:
to_char(now,'yyyy.mm.dd')
- to_date to makes a date type from any kind of string: to_date
('1999.11.23','yyyy.mm.dd')
I don't believe that this very easy thing is not made in PostgreSQL. It
can be made as function also, but I have no time to learn PL/pgSQL
languague...
By the way: how can You use wildcards for date type (with to_char is
easy, but without??)
Regards:
FT
!!!PLEASE MAIL THE ANSWER TO ME ALSO: efte@negral.com
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: forgacs@negral.com
Subject: Re: DATE formatting problem again
In-Reply-To: <38BBC9D2.DCB94658@negral.hu>
References: <38BBC9D2.DCB94658@negral.hu>
* 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