Epoch TimestampBlog
Soft Cactus Studio
Current epoch time:1744073467

Convert epoch timestamp to human readable format

Input:1744073467549
Local:Tuesday, 08 April 2025 00:51:07.549 +00:00
GMT:Tuesday, 08 April 2025 00:51:07.549
Relative:a few seconds ago
ISO 8601:2025-04-08T00:51:07+00:00
RFC 2822:Tue, 08 Apr 2025 00:51:07 +00:00

Convert date-time to epoch timestamp

Epoch:1744073467
Epoch millis:1744073467552
ISO 8601:2025-04-08T00:51:07+00:00
RFC 2822:Tue, 08 Apr 2025 00:51:07 +00:00
Local:Tuesday, 08 April 2025 00:51:07.552 +00:00
GMT:Tuesday, 08 April 2025 00:51:07.552

Convert human readable text to epoch timestamp

Epoch:1744073467
Epoch millis:1744073467552
ISO 8601:2025-04-08T00:51:07+00:00
RFC 2822:Tue, 08 Apr 2025 00:51:07 +00:00
Local:Tuesday, 08 April 2025 00:51:07.552 +00:00
GMT:Tuesday, 08 April 2025 00:51:07.552

What is an epoch?

An epoch is usually described as a specific point in time that marks the starting point, or origin, of an era. The epoch is used as reference point from which time is measured.
Wikipedia article

What is unix/epoch time?

Unix time, or epoch time, is a convention for describing a point in time. It is the number of seconds that have elapsed since the Unix epoch, that is the time 00:00:00 UTC on 1 January 1970, minus leap seconds.
Wikipedia article

The Year 2038 problem

In the year 2038, at 03:14:07 UTC, on the 19th of January, the 32 bit signed integer implementations of the Unix/Epoch timestamp will overflow.
Wikipedia article

How to get the current epoch time in ...

C++

double now = std::chrono::duration_cast<std::chrono::seconds>(std::chrono::system_clock::now().time_since_epoch()).count();

C#

DateTimeOffset.Now.ToUnixTimeSeconds();TimeSpan t = DateTime.UtcNow - new DateTime(1970, 1, 1);
int secondsSinceEpoch = (int)t.TotalSeconds;

Java

Instant.now().toEpochMilli();Instant.now().getEpochSecond();

GO

time.Now().Unix()

Rust

SystemTime::now().duration_since(SystemTime::UNIX_EPOCH)