13 Lut 2015

Wydobycie czasu timestamp w postaci unixowej

select extract(epoch from now());

select extract('epoch' from time_stop at time zone 'Europe/Warsaw')
as time_stop_timestamp from tabela