From: | Zakkr <zakkr(at)zf(dot)jcu(dot)cz> |
---|---|
To: | Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | TO_CHAR() |
Date: | 1999-09-30 17:13:12 |
Message-ID: | Pine.LNX.3.96.990930190211.4165B-100000@ara.zf.jcu.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
this is my new (experimental) TO_CHAR() function (compatible with oracle),
it is available on: ftp://ftp2.zf.jcu.cz/users/zakkr/pg/TO_CHAR-0.1.tar.gz.
See example:
=======
abil=> select to_char('now', 'HH:MI:SS Day MON CC');
to_char
------------------------
20:12:02 Thursday Sep 19
abil=> select to_char('now', 'MM MON Month MONTH YYYY Y,YYY YYY YY Y');
to_char
----------------------------------------------
09 Sep September SEPTEMBER 1999 1,999 999 99 9
abil=> select to_char('now', 'DDD D WW SSSS');
to_char
--------------
273 4 39 72810
abil=> select to_char('now', 'hello year YYYY');
to_char
---------------
hello year 1999
========
Any comments ?
Zakkr
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1999-09-30 17:53:16 | Re: [HACKERS] postmaster dead on startup from unportable SSL patch |
Previous Message | Vince Vielhaber | 1999-09-30 16:09:46 | RE: [HACKERS] Win32 pЭort of libpq |