Searched for tag PostgreSQL and found 1 results in 0.5 ms

Postgres + Unixtime

Here's how you get unixtime from a Postgres date field.

SELECT extract('epoch' from DateField) AS UnixTime FROM Table;
Tags:
Leave A Reply