Hacker News new | ask | show | jobs
by woodruffw 25 days ago
As of POSIX.1-2024 you can use %s to get the number of seconds since the epoch. But that was indeed not specified in earlier POSIX versions, AFAIK.