Unix dateformat ? - Mailing list pgsql-sql

From Zsolt Varga
Subject Unix dateformat ?
Date
Msg-id Pine.LNX.3.96.981215090617.2087A-100000@lupus.agria.hu
Whole thread Raw
List pgsql-sql
hi!

correct me, but is this possible postgresql doesn't contains any function
to convert date/datetime format to unix timestamp format?

in mysql I can do it with:

mysql> select unix_timestamp( now() ) as stamp;
+-----------+
| stamp     |
+-----------+
| 913710262 |
+-----------+

before I make any function in 'c', please if you know some solution inform
me,

    thanks,
    regards
        Redax

.----------------------------------------------------------.
|Zsolt Varga            | tel/fax:   +36 36 422811         |
| AgriaComputer LTD     | email:     redax@agria.hu        |
| System Administrator  | URL:       http://www.agria.hu/  |
`----------------------------------------------------------'


pgsql-sql by date:

Previous
From: Postgres DBA
Date:
Subject: CREATE RULE question
Next
From: Zsolt Varga
Date:
Subject: Mea Culpa (was: Unix dateformat ?)