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
Do as follows for milliseconds:
select round(date_format(CURTIME(3), "%f")/1000)
You can get microseconds by the following:
select date_format(CURTIME(6), "%f")