Is there any way to get total milliseconds from epoch time to now.
EXTRACT(EPOCH FROM TIMESTAMP '2011-05-17 10:40:28.876944')
The above query gives me number of seconds. What I want is number of milliseconds from epoch time.
EXTRACT(EPOCH FROM TIMESTAMP '2011-05-17 10:40:28.876944') * 1000
This code also doesn't give what I want, It is not actual number of milliseconds from epoch time. There is no function which can directly give me milliseconds from epoch time.