4 ms·
I noticed on his websites that he likes to write dates in a format like "2009-121" or "2006-257", i.e., year and then day of year (1..366). I also use that con
by javert 4y ago
I noticed on his websites that he likes to write dates in a format like "2009-121" or "2006-257", i.e., year and then day of year (1..366).
I also use that concept, though I write it as XXYYY where XX is years post 2000 and YYY is the day number. For example, today is 22100.
Why do I like this? I find this is more "mentally ergonomic" to use for software tooling I have made for myself only. I usually don't care about the month or date of the month; I care about offsets (e.g. tomorrow is 22101 and ten days from now is 22110). If I'm computing an offset in my head, I don't have to account for wrap-arounds due to month (e.g. 10 days from March 25 is April 4 because March has 31 days.) The XXYYY format is about as concise as you can get (i.e., takes up minimal space on the screen) while still capturing all the information I care about. XXYYY sorts easily (though that's also true of YY.MM.DD which is my second favorite format).
- JasonFruit 4y agoHave you considered that your system might not be communicative to others?
- javert 4y agoAs I stated in my comment, I use this in tooling made for myself only.
- JasonFruit 4y agoApparently my reading needs work.
- rdpintqogeogsaa 4y agoThis is actually specified in ISO 8601; they call it the ordinal date.
- javert 4y agoAh, thank you. https://en.wikipedia.org/wiki/ISO_8601#Ordinal_dates https://en.wikipedia.org/wiki/ISO_8601#Ordinal_dates Looks like I'm using the second format (YYYYDDD) with the first two year digits truncated.
- kzrdude 4y agoWhat do you think about week-counting dates? They are quite popular for project planning in nordics. You sometimes see them written like 22w10 or even 22w10.5 (2022, week 10, day 5, which is Friday). Outlook etc support showing week numbering if you opt in.
- unixhero 4y agoI find it super weird that this is not common outside of the Nordics.
- akira2501 4y agoI also do this, but I format it in more of a "NASA Mission Event Timer" form with the full timestamp: YYYY:NNN:HH:MM:SS So, 2022:100:11:29:15