▲ 1042 ▼ Japan is on its own wavelength. (lemmy.world) submitted 2 years ago by spicytuna62@lemmy.world to c/memes@lemmy.ml 254 comments fedilink hide all child comments
[–] TrismegistusMx@slrpnk.net 17 points 2 years ago (9 children) YYYY-MM-DD:HH:MM:SS permalink fedilink source parent hideshow 9 child comments replies: [–] umbraroze@kbin.social 21 points 2 years ago Funny thing, in ISO 8601 date isn't separated by colon. The format is "YYYY-MM-DDTHH:MM:SS+hh:mm". Date is separated by "-", time is separated by ":", date and time are separated by "T" (which is the bit that a lot of people miss). Time zone indicator can also be just "Z" for UTC. Many of these can be omitted if dealing with lesser precision (e.g. HH:MM is a valid timestamp, YYYY-MM is a valid datestamp if referring to just a month). (OK so apparently if you really want to split hairs, timestamps are supposed to be THH:MM etc. Now that's a thing I've never seen anyone use.) Separators can also be omitted though that's apparently not recommended if quick human legibility is of concern. There's also YYYY-Wxx for week numbers. permalink fedilink source parent [–] Ravi@feddit.de 15 points 2 years ago (1 child) YYYY-MM-DD:HH:MM:SS+TZ permalink fedilink source parent hideshow 1 child comment replies: [–] Kata1yst@kbin.social 8 points 2 years ago RFC3339! It's like ISO8601, but good! permalink fedilink source parent [–] jlh@lemmy.jlh.name 12 points 2 years ago (1 child) YYYY-MM-DDTHH:MM:SS.SSSSSSSSSZ permalink fedilink source parent hideshow 1 child comment replies: [+] velox_vulnus@lemmy.ml 3 points 2 years ago* (last edited 2 years ago) [deleted] permalink fedilink source parent [–] Unaware7013@kbin.social 5 points 2 years ago (3 children) This, but all run together. I write files/reports to disk a lot from scripts, so that's my preferred format. permalink fedilink source parent hideshow 3 child comments replies: [–] naught@sh.itjust.works 2 points 2 years ago (2 children) I just go for a unix timestamp and use terminal/filemanager to sort by or display the datetime permalink fedilink source parent hideshow 2 child comments replies: [–] Unaware7013@kbin.social 3 points 2 years ago (1 child) Are you talking epoch? I don't care for that mainly because it's not human readable. I see the use for it, but I struggle with it in practical use. permalink fedilink source parent hideshow 1 child comment replies: [–] naught@sh.itjust.works 3 points 2 years ago Yep. I mostly like datetimes for simple sorting. If it needs to be human readable iso is the way to go tho. permalink fedilink source parent
[–] umbraroze@kbin.social 21 points 2 years ago Funny thing, in ISO 8601 date isn't separated by colon. The format is "YYYY-MM-DDTHH:MM:SS+hh:mm". Date is separated by "-", time is separated by ":", date and time are separated by "T" (which is the bit that a lot of people miss). Time zone indicator can also be just "Z" for UTC. Many of these can be omitted if dealing with lesser precision (e.g. HH:MM is a valid timestamp, YYYY-MM is a valid datestamp if referring to just a month). (OK so apparently if you really want to split hairs, timestamps are supposed to be THH:MM etc. Now that's a thing I've never seen anyone use.) Separators can also be omitted though that's apparently not recommended if quick human legibility is of concern. There's also YYYY-Wxx for week numbers. permalink fedilink source parent
[–] Ravi@feddit.de 15 points 2 years ago (1 child) YYYY-MM-DD:HH:MM:SS+TZ permalink fedilink source parent hideshow 1 child comment replies: [–] Kata1yst@kbin.social 8 points 2 years ago RFC3339! It's like ISO8601, but good! permalink fedilink source parent
[–] Kata1yst@kbin.social 8 points 2 years ago RFC3339! It's like ISO8601, but good! permalink fedilink source parent
[–] jlh@lemmy.jlh.name 12 points 2 years ago (1 child) YYYY-MM-DDTHH:MM:SS.SSSSSSSSSZ permalink fedilink source parent hideshow 1 child comment replies: [+] velox_vulnus@lemmy.ml 3 points 2 years ago* (last edited 2 years ago) [deleted] permalink fedilink source parent
[+] velox_vulnus@lemmy.ml 3 points 2 years ago* (last edited 2 years ago) [deleted] permalink fedilink source parent
[–] Unaware7013@kbin.social 5 points 2 years ago (3 children) This, but all run together. I write files/reports to disk a lot from scripts, so that's my preferred format. permalink fedilink source parent hideshow 3 child comments replies: [–] naught@sh.itjust.works 2 points 2 years ago (2 children) I just go for a unix timestamp and use terminal/filemanager to sort by or display the datetime permalink fedilink source parent hideshow 2 child comments replies: [–] Unaware7013@kbin.social 3 points 2 years ago (1 child) Are you talking epoch? I don't care for that mainly because it's not human readable. I see the use for it, but I struggle with it in practical use. permalink fedilink source parent hideshow 1 child comment replies: [–] naught@sh.itjust.works 3 points 2 years ago Yep. I mostly like datetimes for simple sorting. If it needs to be human readable iso is the way to go tho. permalink fedilink source parent
[–] naught@sh.itjust.works 2 points 2 years ago (2 children) I just go for a unix timestamp and use terminal/filemanager to sort by or display the datetime permalink fedilink source parent hideshow 2 child comments replies: [–] Unaware7013@kbin.social 3 points 2 years ago (1 child) Are you talking epoch? I don't care for that mainly because it's not human readable. I see the use for it, but I struggle with it in practical use. permalink fedilink source parent hideshow 1 child comment replies: [–] naught@sh.itjust.works 3 points 2 years ago Yep. I mostly like datetimes for simple sorting. If it needs to be human readable iso is the way to go tho. permalink fedilink source parent
[–] Unaware7013@kbin.social 3 points 2 years ago (1 child) Are you talking epoch? I don't care for that mainly because it's not human readable. I see the use for it, but I struggle with it in practical use. permalink fedilink source parent hideshow 1 child comment replies: [–] naught@sh.itjust.works 3 points 2 years ago Yep. I mostly like datetimes for simple sorting. If it needs to be human readable iso is the way to go tho. permalink fedilink source parent
[–] naught@sh.itjust.works 3 points 2 years ago Yep. I mostly like datetimes for simple sorting. If it needs to be human readable iso is the way to go tho. permalink fedilink source parent