ISO 8601 extension: fractional days

๐Ÿ•๏ธŽ - 2023-07-02

A conservative extension of ISO 8601 to support fractional days is a fun blog post about extending the ISO format for timestamps to support fractional days in addition to fractional seconds, minutes, and hours.

Aesthetically I dislike the "T" in ISO 8601 format, but what can you do.

Fractional days allows for easier handling of the French Republican Calendar and Swatch Internet Time!


ISO 8601 does not allow for specifying offsets from UTC in seconds (another obvious oversight).

Interesting fact:

in contrast to common scientific usage, the decimal part is recommended to be separated by a comma and not a full stop, although the latter is permitted too.

I had no idea!

Anyway, what's next - fractional months and fractional years? Why not?

@blog I'm glad I don't have to parse that sh*t.

- https://magnetic-ink.dk/users/kas ๐Ÿ•š๏ธŽ - 2023-07-02


Add comment

To avoid spam many websites make you fill out a CAPTCHA, or log in via an account at a corporation such as Twitter, Facebook, Google or even Microsoft GitHub.

I have chosen to use a more old school method of spam prevention.

To post a comment here, you need to:

ยน Such as Thunderbird, Pan, slrn, tin or Gnus (part of Emacs).

Or, you can fill in this form: