Quick
search

Unix Timestamp Converter

Unix Timestamp Converter to Date
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

The unix time stamp is now. Stop Refresh

Enter a Timestamp seconds since Jan 01 1970. (UTC)

to Locale Date :

to UTC Date :

in ISO 8601 :

in RFC 3339 :

in RFC 2822 :

in RFC 822, 1036, 1123, 2822 :
Converting a date into a timestamp
- -
: : (24h:min:sec)
Convert

Is equivalent to:
How to Get the Unix Timestamp in Different Programing Language?
Java time
JavaScript Math.round(new Date().getTime()/1000)
getTime() The unit that returns the value is milliseconds
Microsoft .NET / C# epoch = (DateTime.Now.ToUniversalTime().Ticks - 621355968000000000) / 10000000
MySQL SELECT unix_timestamp(now())
Perl time
PHP time()
PostgreSQL SELECT extract(epoch FROM now())
Python import time -> time.time()
Ruby Get the Unix timestamp: Time.now or Time.new
Display the Unix timestamp: Time.now.to_i
SQL Server SELECT DATEDIFF(s, '1970-01-01 00:00:00', GETUTCDATE())
Unix / Linux date +%s
VBScript / ASP DateDiff("s", "01/01/1970 00:00:00", Now())
Other operating systems
(if Perl is installed in the system)
Command line: perl -e "print time"