Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

24
  • 14
    @IMil We may not like it, but quite often they are stored as strings. Commented Sep 25, 2018 at 7:00
  • 14
    @candied_orange That would be strange, especially in the case of dates. Commented Sep 25, 2018 at 7:40
  • 47
    xkcd.com/1179 Commented Sep 25, 2018 at 13:19
  • 19
    As a side note, this format is not that alien. For example, in Hungarian language (and probably some others too) YYYY. MM. DD. is the default written date format, and has been a long time before computers. Commented Sep 25, 2018 at 20:50
  • 31
    In programming, the default date format is "YYYYMMDD"? It would be nice if that were true, but that's definitely not the case everywhere. RFC 822 and RFC 850, as well as ANSI C's asctime, are still widely used in a lot of places. It's nice that RFC 3339 and ISO 8601 are gradually displacing the older formats, and they're certainly what should be used going forward. More generally, I would say the ISO 8601 basic form (plain YYYYMMDD without separator characters) is actually less common than some other forms, like YYYY-MM-DD. Commented Sep 26, 2018 at 19:08