Is there a MySQL way to query based on current MySQL time in milliseconds?
I'm trying:
SELECT UNIX_TIMESTAMP(), UNIX_TIMESTAMP(NOW()) as now_in_mili
but both columns return the same (the 1970 epoch time).
I'm expecting 'now_in_mili' to print current date in milliseconds such as
it is possible in JavaScript:
Date.parse(new Date())