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 #186295 is a reply to message #186292] Mon, 23 June 2014 06:37 Go to previous messageGo to previous message
Mr Oldies is currently offline  Mr Oldies
Messages: 241
Registered: October 2013
Karma:
Senior Member
On Mon, 23 Jun 2014 08:11:46 +0200, Arno Welzel wrote:

> richard, 2014-06-23 04:46:
>
>> On Sun, 22 Jun 2014 21:56:57 +0200, Arno Welzel wrote:
>>
>>> richard, 2014-06-22 20:05:
>>>
>>>> On Sun, 22 Jun 2014 08:53:17 +0200, Arno Welzel wrote:
>>>>
>>> [about date storage in databases]
>>>> > BTW: This is why ISO 8601 had been invented - see
>>>> > <http://en.wikipedia.org/wiki/ISO_8601>.
>>>>
>>>> Doesn't matter anymore. I am using the numeric day system instead.
>>>> where $date=date(z).
>>>
>>> Really? Literally "where $date=date(z)"? Looks very unusual.
>>>
>>> And even if this would make any sense - it least in MySQL date() is
>>> *not* a "numeric day system":
>>>
>>> < http://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#functio n_date>
>
> This does still not explain, why you use "where $date=date(z)". PHP
> itself does not execute SQL statements.

Look dunbshit, I am not using "where" here as an sql statement or property.

for instance you see something like mm-dd-yy then the writer says, "Where
m=month, d=day, and y=year".
"Where" is used routinely to define what the writer meant by his
abbreviations and such.

No Mr. Miller, I am not apologizing to him or you.
He's just being an irritating troll now.
[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:23:00 GMT 2024

Total time taken to generate the page: 0.04668 seconds