top | item 42586637 (no title) ghkbrew | 1 year ago Why does YYYY exist? Is there some common need I'm not familiar with?Also, I clicked on the title because I wanted to know what format Yyyy was... I feel mislead. discuss order hn newest masklinn|1 year ago The article is truly worthless for not explaining it.YYYY is for ISO week-years e.g. December 30, 2024 was also W01 2025 in the ISO calendar. Similarly January 1st 2027 will be W53 2026.ISO weeks are in common use in Europe. skissane|1 year ago This API would have been so much less error-prone if it had used symbolic names instead - e.g. “{year}”, “{weekYear}”, maybe even something like “{year:2}” for a 2 digit year. load replies (1) singlow|1 year ago In case no one else noticed, Yyyy is not real. Its caused by automatic capitalization of yyyy in the HN title. IsTom|1 year ago > Why does YYYY exist?In some countries (EU?) things get counted towards tax years based on it. It's probably useful for accounting software.
masklinn|1 year ago The article is truly worthless for not explaining it.YYYY is for ISO week-years e.g. December 30, 2024 was also W01 2025 in the ISO calendar. Similarly January 1st 2027 will be W53 2026.ISO weeks are in common use in Europe. skissane|1 year ago This API would have been so much less error-prone if it had used symbolic names instead - e.g. “{year}”, “{weekYear}”, maybe even something like “{year:2}” for a 2 digit year. load replies (1)
skissane|1 year ago This API would have been so much less error-prone if it had used symbolic names instead - e.g. “{year}”, “{weekYear}”, maybe even something like “{year:2}” for a 2 digit year. load replies (1)
singlow|1 year ago In case no one else noticed, Yyyy is not real. Its caused by automatic capitalization of yyyy in the HN title.
IsTom|1 year ago > Why does YYYY exist?In some countries (EU?) things get counted towards tax years based on it. It's probably useful for accounting software.
masklinn|1 year ago
YYYY is for ISO week-years e.g. December 30, 2024 was also W01 2025 in the ISO calendar. Similarly January 1st 2027 will be W53 2026.
ISO weeks are in common use in Europe.
skissane|1 year ago
singlow|1 year ago
IsTom|1 year ago
In some countries (EU?) things get counted towards tax years based on it. It's probably useful for accounting software.