Timestamp Online Conversion

  • The UNIX timestamp is the total number of seconds from 00:00:00 on January 1, 1970 to the present, regardless of the time zone.
  • Current UNIX timestamp (based on browser time): 1727923479

How to use Timestamp Conversion? 

How to get timestamp in swift/java/javascript/python/ruby/python...?

SwiftNSDate().timeIntervalSince1970
Goimport ( "time" )
int32(time.Now().Unix())
Java(int) (System.currentTimeMillis() / 1000)
JavaScriptMath.round(new Date() / 1000)
Objective-C[[NSDate date] timeIntervalSince1970]
MySQLSELECT unix_timestamp(now())
SQLiteSELECT strftime('%s', 'now')
PHPtime()
Pythonimport time
time.time()
RubyTime.now.to_i
Shelldate +%s
Groovy(new Date().time / 1000).intValue()
Luaos.time()
.NET/C#(DateTime.Now.ToUniversalTime().Ticks - 621355968000000000) / 10000000