SELECT extract(epoch FROM your_datetime_column)
FROM your_table
Mer information i manualen:
http://www.postgresql.org /docs/current/static/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT
SELECT extract(epoch FROM your_datetime_column)
FROM your_table
Mer information i manualen:
http://www.postgresql.org /docs/current/static/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT