Bert Hubert personal blog

The surprising struggle to get a Unix Epoch time from a UTC string in C or C++

So how hard could it be. As input we have something like Fri, 17 Jan 2025 06:07:07 in UTC, and we’d like to turn this into 1737094027, the notional (but not actual) number of seconds that have passed since 1970-01-01 00:00:00 UTC. Trying to figure this out led me to discover many ‘surprise features’ and otherwise…
Points
131
HN comments
96
Submissions
1
Cited by
0 commenters

Software EngineeringSystems & Performance2025

On Hacker News

SubmittedTitle on HNPointsComments
Jan 19, 2025The surprising struggle to get a Unix Epoch time from a UTC string in C or C++ by PascalW13196

More from Bert Hubert

All 35 posts →

Related posts from the same era