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 #186276 is a reply to message #186274] Sun, 22 June 2014 19:31 Go to previous messageGo to previous message
Jrgen Exner is currently offline  Jrgen Exner
Messages: 14
Registered: March 2013
Karma:
Junior Member
On Sun, 22 Jun 2014 13:55:49 -0400, richard <noreply(at)example(dot)com> wrote
in comp.databases.mysql:
>>>> 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.

> what if you see 1967-31-09?

Then you are not seeing a valid date in ISO-8601 format.

> if it read 1967-Sep-09 then there is no guessing is there?

Yes there is, because in many languages "Sep" doesn't make any sense.
Furthermore obviously dates in that format cannot be sorted easily.

jue
[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: Thu Nov 21 22:03:24 GMT 2024

Total time taken to generate the page: 0.06785 seconds