▲ 660 ▼ The perfect date (thelemmy.club) submitted 4 weeks ago by PopcornPrincess@lemmy.world to c/lemmyshitpost@lemmy.world 239 comments fedilink hide all child comments
[–] thingsiplay@lemmy.ml 90 points 4 weeks ago (2 children) YYYY-MM-DD permalink fedilink source hideshow 4 child comments replies: [–] Zink@programming.dev 12 points 4 weeks ago (2 children) Yep and it needs to use hyphens and not slashes. It helps avoid missed typos or mis-reads in some situations, especially if hand-written. permalink fedilink source parent hideshow 4 child comments replies: [–] froufox@lemmy.blahaj.zone 14 points 3 weeks ago (1 child) and it's perfectly sortable permalink fedilink source parent hideshow 2 child comments replies: [–] Zink@programming.dev 5 points 3 weeks ago oh yeah. There are numerous benefits to the format itself, outside the question of hyphens vs slashes. I find the sortability quite satisfying, but also as somebody living in the US, I also like that it's unambiguous regardless of my audience. Hell, half the time I see people hand-write a date on something they don't even use a year. permalink fedilink source parent [–] thingsiplay@lemmy.ml 1 point 3 weeks ago (1 child) There are also variants with single dots too. I sometimes do timestamps without any separator too, depending on the context (such as file backups): YYYYMMDD in example 20260805. permalink fedilink source parent hideshow 2 child comments replies: [–] Zink@programming.dev 2 points 3 weeks ago I actually used to do single dots in my own file/folder names. It's probably my favorite way visually, since it's a minimal separator and as you showed it works without a separator at all. permalink fedilink source parent [–] flying_sheep@lemmy.ml 6 points 3 weeks ago (2 children) ISO 8601 my beloved permalink fedilink source parent hideshow 4 child comments replies: [–] thingsiplay@lemmy.ml 1 point 3 weeks ago (1 child) In fact the Linux date command even has an iso flag: date --iso-8601 permalink fedilink source parent hideshow 2 child comments replies: [–] baltakatei@sopuli.xyz 2 points 3 weeks ago date -Is my beloved. permalink fedilink source parent [–] baltakatei@sopuli.xyz 1 point 3 weeks ago* (1 child) YYYY-mm-ddTHH:MM:SS±zzzz permalink fedilink source parent hideshow 2 child comments replies: [+] flying_sheep@lemmy.ml 1 point 3 weeks ago [deleted] permalink fedilink source parent
[–] Zink@programming.dev 12 points 4 weeks ago (2 children) Yep and it needs to use hyphens and not slashes. It helps avoid missed typos or mis-reads in some situations, especially if hand-written. permalink fedilink source parent hideshow 4 child comments replies: [–] froufox@lemmy.blahaj.zone 14 points 3 weeks ago (1 child) and it's perfectly sortable permalink fedilink source parent hideshow 2 child comments replies: [–] Zink@programming.dev 5 points 3 weeks ago oh yeah. There are numerous benefits to the format itself, outside the question of hyphens vs slashes. I find the sortability quite satisfying, but also as somebody living in the US, I also like that it's unambiguous regardless of my audience. Hell, half the time I see people hand-write a date on something they don't even use a year. permalink fedilink source parent [–] thingsiplay@lemmy.ml 1 point 3 weeks ago (1 child) There are also variants with single dots too. I sometimes do timestamps without any separator too, depending on the context (such as file backups): YYYYMMDD in example 20260805. permalink fedilink source parent hideshow 2 child comments replies: [–] Zink@programming.dev 2 points 3 weeks ago I actually used to do single dots in my own file/folder names. It's probably my favorite way visually, since it's a minimal separator and as you showed it works without a separator at all. permalink fedilink source parent
[–] froufox@lemmy.blahaj.zone 14 points 3 weeks ago (1 child) and it's perfectly sortable permalink fedilink source parent hideshow 2 child comments replies: [–] Zink@programming.dev 5 points 3 weeks ago oh yeah. There are numerous benefits to the format itself, outside the question of hyphens vs slashes. I find the sortability quite satisfying, but also as somebody living in the US, I also like that it's unambiguous regardless of my audience. Hell, half the time I see people hand-write a date on something they don't even use a year. permalink fedilink source parent
[–] Zink@programming.dev 5 points 3 weeks ago oh yeah. There are numerous benefits to the format itself, outside the question of hyphens vs slashes. I find the sortability quite satisfying, but also as somebody living in the US, I also like that it's unambiguous regardless of my audience. Hell, half the time I see people hand-write a date on something they don't even use a year. permalink fedilink source parent
[–] thingsiplay@lemmy.ml 1 point 3 weeks ago (1 child) There are also variants with single dots too. I sometimes do timestamps without any separator too, depending on the context (such as file backups): YYYYMMDD in example 20260805. permalink fedilink source parent hideshow 2 child comments replies: [–] Zink@programming.dev 2 points 3 weeks ago I actually used to do single dots in my own file/folder names. It's probably my favorite way visually, since it's a minimal separator and as you showed it works without a separator at all. permalink fedilink source parent
[–] Zink@programming.dev 2 points 3 weeks ago I actually used to do single dots in my own file/folder names. It's probably my favorite way visually, since it's a minimal separator and as you showed it works without a separator at all. permalink fedilink source parent
[–] flying_sheep@lemmy.ml 6 points 3 weeks ago (2 children) ISO 8601 my beloved permalink fedilink source parent hideshow 4 child comments replies: [–] thingsiplay@lemmy.ml 1 point 3 weeks ago (1 child) In fact the Linux date command even has an iso flag: date --iso-8601 permalink fedilink source parent hideshow 2 child comments replies: [–] baltakatei@sopuli.xyz 2 points 3 weeks ago date -Is my beloved. permalink fedilink source parent [–] baltakatei@sopuli.xyz 1 point 3 weeks ago* (1 child) YYYY-mm-ddTHH:MM:SS±zzzz permalink fedilink source parent hideshow 2 child comments replies: [+] flying_sheep@lemmy.ml 1 point 3 weeks ago [deleted] permalink fedilink source parent
[–] thingsiplay@lemmy.ml 1 point 3 weeks ago (1 child) In fact the Linux date command even has an iso flag: date --iso-8601 permalink fedilink source parent hideshow 2 child comments replies: [–] baltakatei@sopuli.xyz 2 points 3 weeks ago date -Is my beloved. permalink fedilink source parent
[–] baltakatei@sopuli.xyz 1 point 3 weeks ago* (1 child) YYYY-mm-ddTHH:MM:SS±zzzz permalink fedilink source parent hideshow 2 child comments replies: [+] flying_sheep@lemmy.ml 1 point 3 weeks ago [deleted] permalink fedilink source parent