From: "Ryan Mahoney" <ryan(at)paymentalliance(dot)net>
> Is it possible to select dates from postgres in Unix time format? Something like:
select extract('epoch' from now());
or
select date_part('epoch',now());
should do it.