Spyke
lemmy.world

Waiting for the ISO 8601 & 9001 gang to show up and promote YYYY-MM-DD.

Edit: That took seconds, a very punctual bunch.

307
Jo Miranreply
lemmy.ml

I know. I started using the format with periods back in the 90s, before I knew of the standard, and at this point doing it with periods is muscle memory. That's not meant as an excuse, just an explanation. The excuse is laziness.

13
Artyomreply
lemm.ee

If only there were some international standards organization to make a decision for us!

8
Deestanreply
lemmy.world

After all the self-important blowhards in the committe were satisified that they had put their fingerprint on the ISO8601 document with bullshit like "year-month-week" format support and signed off, they went home.

The rest stayed behind, waited a few minutes to be safe, and then quickly made RFC3339 like a proper standard.

This is what RFC3339 vs ISO8601 feels like.

16
kata1ystreply
sh.itjust.works

Let's not forget that technically you have to pay for ISO8601, despite it being nearly useless as a standard because it allows several incompatible formats to coexist.

Fucking wild.

10

While a fucking stupid concept, it's nice that this particular format has a monetary deterrent.

7

Only if you want to say you have the certification for it, you can use it if you want, that is fine

1
Vinstaal0reply
feddit.nl

ISO8601 is YYYY-MM-DD nothing to do with weeks and isn;t the only difference of RFC3339 that you can use a space instead of a T in between the date and time? Also RFC3339 is only an internet standard while ISO is a generally international standard?

2

Yeah I know, but it also has a different use case. As far as I know RFC3339 is mostly used for programming while ISO8601 is the standard for international communication and I wish people would use it more. I have processed American invoices in the wrong month because of their date structure. I have no reason to it, but I always write my date ISO 8601 (YYYY-MM-DD)

1
Deestanreply
lemmy.world

No idea what you based those claims on, but the spec itself (I have the pdf) and Wikipedia's summary disagree. ISO8601 allows for YYY-MM-DD yes but it allows for a bunch of silly stuff.

https://en.m.wikipedia.org/wiki/ISO_8601

Both "2025-W24-4" and "2025‐163" are valid representations of today's date in ISO8601.

(Also the optional timezone makes it utterly useless.)

3

The omitting of timezones doesn't matter to a vast majority of the world, since most countries only have one time zone so I don't see a reason why that is relevant in most use cases.

ISO is a general standard, it's in the name and the RFC is created for the internet, that is also in the name/description of the RF.

Using 2025-164 can be handy, I actually use the day of the year to check what invoices from previous year are open since those are the invoices that are due 164 days or more.

1
tisktiskreply
piefed.social

Anyone help enlighten me about whatever this and unix epoch are getting at? Are these really more specific/better than iso 8601 and why specifically?

4
kata1ystreply
sh.itjust.works

Happily!

So, first epoch time. It's a pretty robust standard, covers many use cases, has few edge cases... but it's specifically for machine usage, since it's not human readable and it's not reversible into the past (pre-1970).

ISO 8601 (depending on the annum), by the text of the documentation, these are all valid dates:

  • 2007-04-05T14:30
  • 2007-04-05T12:30−02:00
  • 2007-04-05T14:30Z
  • 200704051430
  • 07-04-05T14:30
  • 2007-95T14:30

Etc.

RFC 3339 (& RFC 9557, it's newest modification) is actually a subset of ISO 8601 and is far more prescriptive. For example you must have a timezone designator. You must have a separator between the date and time. You must use a dash between date elements and a colon between time elements. You can easily add standardized subseconds.

  • 2007-04-05T12:30−02:00
  • 2007-04-05 14:30Z

This means that RFC 3339 is much easier to parse and use by both machines and humans.

This page (reddit, I know...) has a great summary, and so in the interest of knowledge and attribution I'll link it: https://www.reddit.com/r/ISO8601/comments/p572xy/rfc_3339_versus_iso_8601/

This website allows you to more directly compare the two interactively. https://ijmacd.github.io/rfc3339-iso8601/

13

This is delicious, and I can't say thank you enough. I like this a lot. If anyone has any insight on more superior standards or subsets of these, please inform me. This made my day tho 😊

5

ISO is a wider standard than the RFC standards though which is only for the internet

1
vinnymacreply
lemmy.world

I’m now imagining a child who must write 2026-05-10T10:06:09.426792Z on all of their tests.

32
lemmy.world

They should also add a timezone since most of us don't live at UTC zero timezones -> 2012-12-28T18:12:33+09:00

24

Most people communicate mostly with people in the same timezone's, partially because most countries only have one timezone.

1

Microsecond precision is fine for most use cases, but I teach my kids to use nanoseconds.

6

It's a flexible standard. 2026-05-10T10:06:09.426792Z, 2026-05-10 10:06:09.426792Z, 2026-05-10 10:06:09.426792 , and 2026-05-10 all conform to the standard.

3
Owlreply
mander.xyz

Hello from Hungary ! We should also democratize the Surname GivenName format

7
IninewCrowreply
lemmy.ca

Anyone that gives me a document or receipt or invoice with a date formatted DD-MM-YYYY should have a tire iron swung at their thighs

Multiple swings if they can't decide on using DD-MM-YYYY or MM-DD-YYYY or DD-MM-YY or MM-DD-YY or YY-MM-DD or YY-DD-MM

5

I rather have somebody write their invoices at DD-MM-YYYY cause there is a bigger chance it will most likely not be an invoice from a North American company which notriously cannot make proper invoices and most software that actually scans and processes invoices is based on the European standaard DD-MM-YYYY or on ISO8601.

1

Btw this is how it’s used in some countries (eg., Hungary, Japan, China, and a few others from Asia). All other date formats are very strange and confusing for us

4
tisktiskreply
piefed.social

As a big ISO 8601 guy myself, I request explanation of this 9001 addition? Never heard of it till now and am optimistic

3
lemmy.ca

I prefer the alphabetical date format DD-HH-MM-SS-mm-yy for maximum confusion

6
tisktiskreply
piefed.social

Were you mostly joking or is there a utility to this? Genuinely curious as someone that finds confusing things slightly more memorable in a really backwards way

1

Yes I was joking, get a random timestamp in this format and you have no idea what it's referring to.

DD:HH:MM:SS:mm:yy is even better because it could be a MAC address.

5
lemmy.ca

This fucknuts who thinks day should come before year, hah! Give me YYYY-MM-DD, because dashes are better than slashes any day of the week.

92
glibgreply
lemmy.ca

This format is the best. Especially for digital file names, because sorting the files by filename also sorts them by date.

25

I prefer YYYY.MM.DD, because the dots look aesthetically pleasing when the date is being displayed within the vincity of a clock displaying the time digitally.

3
programming.dev

When i first read a date, i want to see the thing that changes 74 times in my entire life first too

0
Vinstaal0reply
feddit.nl

HA! if you even get to be 74!

But in some jobs the year is more important (bookkeeping/accounting) and doing YYYY-MM-DD automatically sorts your dates

1
programming.dev

YYYY-MM-DD obviously has uses, especially with sorting, but that doesnt make it the objectively best date format

1
Vinstaal0reply
feddit.nl

No I agree, hopefully we can all agree that the MMDDYYYY is the worst date format

3
lemmy.ca

Immediate red flag, we all know that YYYY/MM/DD is the only acceptable perfect date

62

Agreed. As a nonviolent person, I'm willing to go to war over this. Can't have two files from different years listed side by side because they were from the first day of different months. That's anarchy.

13

Actually YYYY-MM-DD is better since it can be used basically everywhere and with / it can't be used in filenames

7
aussie.zone

YYYY-MM-DD if you're doing backup naming, easier to find

62
reddthat.com

Yup, versioned files ALWAYS get a YYYY-MM-DD HHMM timestamp. So when you sort alphabetically, they sort chronologically.

23

“Apologies, Jason. It’s you & not me.

You’re just the opposite of the man I could ever want to spend the rest of my years with.”

3

That's why you always have the same number of digits. 01 < 05 < 10

7
lemmy.world

My time abroad has taught me that YYYY/MM/DD is the way to format dates.

48
ManixTreply
lemmy.world

For consistency, Europeans should adopt ss:mm:hh DD-MM-YYYY.

See how ridiculous that is? ISO8601 or GTFO

12
programming.dev

The european one is sorted based on importance to see. The day is more important than the month which is more important than the year. The hour is more important than the minute which is more important than the second

11
tomenzggreply
midwest.social

But in any given situation where the month is important enough that I need to know it, I want to know the month regardless of the day. The 25th means fuck all to me unless I know the month, as well; whereas there are plenty of scenarios where I want to know the month but the day isn't quite as important.

3

Usually if someone just says the 25th that means of the current month. The month only needs to be referred to if it's not the same as the current. (In conversation)

4

At least ss:mm:hh and DD-MM-YYYY are internally consistent, even if they aren't consistent with each other.

MM-DD-YYYY isn't even internally consistent.

10
lemmy.world

If you use DD/MM/YYYY then logically you should also use ss:mm:hh

30
rmukreply
feddit.uk

Sarcastically Shaking My Many Hydra Heads.

16

No, because in most cases the most important information about a date is the day, then month, then year. It also matches the way we read dates. For the time it's typically the hour, then minutes, then seconds. YYYY/MM/DD is better when naming files, but in UIs I much prefer DD/MM/YYYY, it's just more natural to the way we read.

2

Or just use ISO8601 whi uses hh:mm:ss and well it is an ISO standard, but at least DD:MM:YYYY makes more sense than what Americans are doing.

Also 4th of july ....

2
lemmy.world

Don't go with this psycho! He mixes European style order with US style punctuation.

27

Standard in Australia. And common in the UK (it's traditionally a dot, but slash is more common now).

But I'm team ISO-8601 when there's a chance of an international audience. At least where locale information can't be used.

6
lemmy.world

That’s not a colon. Both are commonly in use in Europe. USA just switched the d/m

3
tomenzggreply
midwest.social

Is it really switching if that was the way it was traditionally done and they just kept doing it that way?

3
lemmy.world

I think it was primarily a verbal ordering, that later became commonplace written down in the US. If it was written down in that order elsewhere, it would have been with the full text, ie. “July 4th, 1776”. Never something like “07/04/1776”, which I believe was an American invention.

2
tomenzggreply
midwest.social

But wouldn't that just be an extension of the way of doing things, though? If I'm used to writing "July 4th, 1776", I wouldn't start writing "04/07/1776" when that format picked up (which, as I understand things, didn't really become a widespread norm until computers).

Unless I'm misunderstanding you, of course (always possible).

3

I think written abbreviated it was always eg. 4 Jul 1776, 4.7.1776 in Europe (UK/France/Germany)

2

Its the better choice for digital data I guess. In every day use, the day is the most important thing, then month, then year.

From context, I usually know the year. Probably even the month. So I'll use DD.MM.YYYY. If someone asks me when we're going to meet I won't say "twenty-twentyfive", June, twentieth. And I'm guessing you don't do that either.

2

small correction: YYYY-MM-DD to avoid common special meanings chars

15
sh.itjust.works

For computing or sorting purposes, YYYY-MM-DD is best. But in day to day writing a date, I prefer DD-MON-YYYY.

18

11-Jun-2025

It's shit format but at least it's better than 11.6.2025 or 6/11/2025

9
lemmy.world

Single letter for month is too ambiguous - how do you tell apart June, July and January? Also, what do O and N denote?

10
Habahnowreply
sh.itjust.works

Seems you missed the point, it's first three letters of the month, not one. Edit: seems I missed the joke on the post.

3

What if the day in question isn't a Monday?

5

That's a tough one. I would have to say April 25. Because it's not too hot, not too cold, all you need is a light jacket.

14

I'm fine with anything in the realm of yyyymmdd or reversed, as long as it isn't the confusing format that is common in the USA

11
lemm.ee

I'm the only one annoyed about DD/MM/YYYY not being a date, but a date "format"?

Not only it's a recycled joke, it doesn't even make sense.

10

DD/MM/YYYY or YYYY-MM-DD are formatting conventions for expressing dates. The date itself is probably converted from some date object anyway, like the Unix Epoch, and can be expressed in any variety of formats.

Wednesday, June 11, 2025 is a date. dddd, mmm dd, yyyy or %A, %B %d, %Y is a format.

Edit: I’m pretty sure I misread the comment above.

3

When talking about the date with another human, DD/MM (+YYYY if required); when doing anything related to the sorting of files by date, YYYY/MM/DD.

5

YYYYMMdd is best for file names.

I prefer verbose for my task bar

ddd, MMMM dd, hh:mm:ss ap (t) Wed, June 11, 09:49:35 am (PDT)

5

Epoch, takes a bit of practice but I already read it fluently and often make fun of everyone arpund me for not knowing how to read a clock (my clock)

3

Why is there no format that gives the month in three letter abbreviation so its clear cut what it means?

2

I never downvote people on Lemmy but I did for this one .... I just spent the past month going through some invoicing and paper receipts and it is absolutely infuriating to still see some businesses using MM-DD-YY while others insist on DD-MM-YY and some businesses have invoicing and receipt printers that use one or the other but not the same. It's not a big deal if you are dealing with documents that are a month or two old because you can guess from what time period they come from ... but it is absolutely confusing if documents get older than that.

9

Hello, Y2K called, this is literally what caused it. Years stored in 2-digits had to be fixed on every computer on the planet before the calendar rolled to 2000. (People thought nukes would fly, glitches would crash the stock market and the world was going to end)

3

MM/YY for me. People can figure out the day of month themselves.

3

Upvoted, because never blame someone who learned something new.

YYYY-MM-DD is for Files

DD.MM.YYYY is for writing a date down.

2
lemmy.ml

Dang you're getting down voted but this is how all Americans talk. It's June 4th 2022.

1

Apparently (if you believe things from Lemmy) the American date format is 'barbaric' because it's different from the norm.

1
lemmy.world

Same here buddy. It's what I use every day. Welcome to Lemmy, apparently being American is unwelcome around here.

Oh also. Windows, OneDrive and Google really russles some jimmies round here.

-2
Spectrismreply
feddit.org

Being American isn't unwelcome here. Using barbaric date formats is.

2

Pretty sure that's debatable. I've seen quite a bit of American hate on Lemmy

In general Lemmy is a fairly hateful place, lots of bitter individuals.

1