Closed newlandsvalley closed 4 years ago
I've just worked out how to do this properly in postgresql. i.e. how to convert a timestamp to an epoch time, returned as a string:
select floor ( extract ( epoch from current_timestamp) * 1000) :: text;
Fixed by 25b283b94c1951f6139f65444bd727bd81c476de. The ts field is now generated properly from the database and is renamed from date to ts accordingly.
I've just worked out how to do this properly in postgresql. i.e. how to convert a timestamp to an epoch time, returned as a string: