PostgreSQL Timestamp zu Unix Timestamp
Wednesday, 18 February 2009
So kann man aus einem PostgreSQL Timestamp einen Unix Timestamp machen:
select extract(epoch from "timestamp"(postgres_timestamp)) as unix_timestamp from table
Wednesday, 18 February 2009
So kann man aus einem PostgreSQL Timestamp einen Unix Timestamp machen:
select extract(epoch from "timestamp"(postgres_timestamp)) as unix_timestamp from table