Is there any way to get milliseconds out of a timestamp in MySql or PostgreSql (or others just out of curiosity)?
MySql
PostgreSql
SELECT CURRENT_TI
In PostgreSQL you can use :
SELECT extract(epoch from now());
on MySQL :
SELECT unix_timestamp(now());