Get Current Timestamp

Get the current Unix timestamp in milliseconds.

Code

General
(Time.now.to_f * 1000).to_i
Server

More Ruby Snippets