3 ms·
hah! 1/2/2014 is January 2nd. Take that, Europeans. Unless you are checking my IP address to guess the best convention...
by dangerlibrary 12y ago
hah! 1/2/2014 is January 2nd. Take that, Europeans.
Unless you are checking my IP address to guess the best convention...
- ar7hur 12y agoThis is just a demo website, but in a real use case you would pass a context (for instance with the user timezone, country...) with your library calls. You can also try the same sentence in French, you'll get February first.
- Someone 12y agoAre there countries that use slashes for d/m/y? What surprised me was "1-2-2014": From Thursday, 2 October 2014 at 1:02:00 +0000 (UTC) to Wednesday, 1 January 2014 at 0:00:00 +0000 (UTC) On top of the "where did it get those timestamps from", time flows backwards in that interval.
- EyeballKid 12y ago> Are there countries that use slashes for d/m/y? Oh yes, loads of them. Lots more than use m/d/y anyway. See https://en.wikipedia.org/wiki/Date_format_by_country https://en.wikipedia.org/wiki/Date_format_by_country Canada looks the most hellish, eg: "Immigration Canada Stamps use DD/MM/YYYY and Canada Customs Stamps use MM/DD/YYYY." eek!