Time.now.to_f*1000
This is false - to_f returns the time as the number of seconds since epoch. You need to multiply by 1000 to get the number of milliseconds.
This is false - to_f returns the time as the number of seconds since epoch. You need to multiply by 1000 to get the number of milliseconds.
ReplyDelete