DEV Community

loading...

Discussion on: Dates are hard folks

Collapse
ahferroin7 profile image
Austin S. Hemmelgarn

The 'YYYY' format is for week number dates (today is 2020-W32-5 per the ISO 8601 week date system). Week number dates are used a lot in manufacturing (or at least, the year and week number is, not the weekday as much) because that makes it easier to trace a given batch of products to a particular shift that was responsible for producing or checking them.