Join Nostr
2025-01-17 17:12:18 UTC

bert hubert πŸ‡ΊπŸ‡¦πŸ‡ͺπŸ‡ΊπŸ‡ΊπŸ‡¦ on Nostr: Does anyone know how to best parse "Fri, 17 Jan 2025 06:07:07 GMT" using POSIX ...

Does anyone know how to best parse "Fri, 17 Jan 2025 06:07:07 GMT" using POSIX functions to get the right UNIX epoch timestamp? I've only found very ugly solutions so far. Please do read man strptime(3) carefully before responding with ideas that you think might work (%z does not).