PostgreSQL Timestamp zu Unix Timestamp

So kann man aus einem PostgreSQL Timestamp einen Unix Timestamp machen:

select  extract(epoch from "timestamp"(postgres_timestamp)) as unix_timestamp from table

Comments are closed.