How to get the current time as 13-digit integer in Ruby?

后端 未结 7 482
闹比i
闹比i 2020-12-04 11:35

I have this jQuery function that returns the current time as the number of milliseconds since the epoch (Jan 1, 1970):

time = new Date().getTime         


        
7条回答
提交回复
热议问题