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 #186308 is a reply to message #186298] Tue, 24 June 2014 02:00 Go to previous messageGo to previous message
Geoff Muldoon is currently offline  Geoff Muldoon
Messages: 19
Registered: July 2011
Karma:
Junior Member
Richard noreply(at)example(dot)com says...

>>>> If the date were 2014-01-01, date(z) would return 1.
>>>> Dayofyear() takes that number and transform it back to the calendar date.

>> Doesn't the MySQL DATEOFYEAR() function actually take a DATE data
type
>> input and return a number (in range 1-366)?

> As I get told so frequently, RTFM asshole!

Do you mean this?
http://dev.mysql.com/doc/refman/5.5/en/date-and-time-
functions.html#function_dayofyear

I can't find any in-built PHP function of that name, please post a link
to said manual entry. Arsehole.

GM
[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 21:47:14 GMT 2024

Total time taken to generate the page: 0.04656 seconds