Unix Timestamp Converter

Epoch time converter for easy timestamp to date and time conversion. Transform a date and time to a Unix timestamp (a.k.a. Unix time, Epoch time) or perform the reverse epoch to date and time conversion.

   
   
Share converter:

Embed this tool:
get code     

    Quick navigation:
  1. Current Unix Epoch Timestamp
  2. Using the timestamp converter
  3. What is Unix time, a.k.a. Epoch time?

    Current Unix Epoch Timestamp

The unix timestamp now is (updates automatically):

1685386442

Converted to date and time this is Mon, 29 May 2023 06:05:02 GMT which is often also expressed as 2023-29-05 06:05:02 GMT in computing.

In your local time that is .

    Using the timestamp converter

To use the tool in timestamp to date mode, just enter a Unix timestamp and it will automatically be converted to a GMT / UTC date and time string as well as a string based on your locale, including your current timezone as reported by your browser.

Alternatively, use the converter in date to timestamp mode by entering either a fully qualified date and time or a partial one. Example use case:

  • Entering just a year, such as "2023" will output the timestamp for "2023-01-01 00:00:00", meaning midnight on the first of January, 2023.
  • Entering a year and a month, such as "2023" and "2" (February) will output the timestamp for "2023-02-01 00:00:00", meaning midnight on the first of February, 2023.
  • Entering a full date without any time will output the Unix epoch timestamp for midnight on that date (00:00 AM).
  • Likewise, entering an hour without specifying minutes and seconds assumes the beginning of that hour. The same applies in case of specifying the minutes without entering seconds.

    What is Unix time, a.k.a. Epoch time?

In computing, Unix time is a system for uniquely describing a point in time with an accuracy of up to a second, though some systems may extend that to a millisecond (e.g. JavaScipt's representation). It is often referred to as "Unix timestamp", "Epoch time", "Posix time" in technical documentation and slang. A Unix timestamp is simply the number of seconds that have elapsed since the Unix epoch, excluding leap seconds. The Unix epoch is 00:00:00 UTC on 1 January 1970 and is defined as such in relation to the fact that the Unix operating system it was first used on was invented just a few months prior in 1969.

Unix time is not adhering to UTC due to how leap seconds are handled. Every day in Unix time contains exactly 86400 seconds meaning that no seconds are being added to or subtracted from the day as a result of positive or negative leap seconds.

Unix timestamps and therefore the need to convert to and from epoch time and human readable dates and times are widely used in databases (MySQL, Oracle, PostgreSQL, SQL Server) and various programming languages such as C++, C#, PHP, Python, JavaScript, Ruby, Perl, Java, R, and more.

Cite this converter & page

If you'd like to cite this online converter resource and information as provided on the page, you can use the following citation:
Georgiev G.Z., "Unix Timestamp Converter", [online] Available at: https://www.gigacalculator.com/converters/unix-time-converter.php URL [Accessed Date: 29 May, 2023].