FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Putting it all together
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Storing dates [message #186323 is a reply to message #186276] Tue, 24 June 2014 20:27 Go to previous messageGo to previous message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma:
Senior Member
J�rgen Exner wrote:
^^^^^^^^^^^^
Unencoded non-ASCII characters in message headers are not allowed by
RFC 5536. Please fix your newsreader or switch to a working one.

> On Sun, 22 Jun 2014 13:55:49 -0400, richard <noreply(at)example(dot)com> wrote
> in comp.databases.mysql:

It's attribution *line*, _not_ attribution novel. Please adjust/fix your
newsreader or switch to one that allows you to not make life harder for your
readers.

>>>> > BTW: This is why ISO 8601 had been invented
>>> Of course it was just a typo and 1967-09-12 is for 12. September of 1967
>>> ;-)
>>
>> But how are us humans supposed to know which comes first?
>
> Simple: because it is unambiguously defined in ISO 8601.
^^^^^^^^^^^^^
Which is why …

>> what if you see 1967-31-09?
>
> Then you are not seeing a valid date in ISO-8601 format.

… that statement is wrong.

The ISO 8601 date format is unambiguously defined because it always has the
year number (Y), followed by the month number (M), optionally followed by
the day-of-month number (D): YYYY-MM-DD or YYYYMMDD. Whereas YYYY, YYYY-MM,
YY-MM-DD, and YYMMDD had been allowed, but the latter two were recommended
against and have been abolished in 2004 CE.

There is no YYYY-DD-MM format specified there, and since there are only 12
months in the Gregorian calendar, there cannot be a 31st.

<https://en.wikipedia.org/wiki/ISO_8601#Calendar_dates>

F'up2 comp.lang.mysql

--
When all you know is jQuery, every problem looks $(olvable).
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: str_replace does not like empty quotes
Next Topic: SplFileObject always returns an extra "last" line -- why?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 03:14:45 GMT 2024

Total time taken to generate the page: 0.04234 seconds