GummLANParty
Nothing Scheduled


[Go To Forum] | [Forum RSS]
100 Website/Forum Members
1229 Posts in 24 hours
1238 Posts in 7 days
12818 Total Posts
Chops is the last poster
Popular Threads
MouseSwitcher launched (8)
Election Predictions (217)
FOR SALE/TRADE post? (7)
Framed SSH program in linux? (9)
Congratulations on the wedding (12)
LAN Party set for November 3rd (11)





Get Firefox
I'm addicted to .NET?
[Coding/Tech]

[Back to Index]  [Bottom of Thread]
<<< 1 2
Quote by stevo
This is too funny.


hah, yeah.

BTW, I have a copy of php|architect magazine that talks about a bunch of different php frameworks, if you wanted to stop by to pick it up on the way home from work or something.

----
Do it for the Lobster
Yeah, I probably should have read Joe's original post about mktime a bit more closely. I think I've used it once or twice in the past, and I was like "why do I need to use mktime when I can just do strtotime?" not realizing that mktime did date arithmetic.

Edit: Just grepped my codebase for mktime, I've used it in three different spots all for the same purpose (find first day of the month).

Anyway, what were we talking about again?

----
Do it for the Lobster
Quote by Chops
In your function, you don't have the $days parameter being used at all. It just returns the current time.

Yeah, my bad.

Quote by stevo
This is too funny.

Indeed. Maybe this thread should be renamed to "how to handle dates in PHP" or something?

----
no fat chicks


<<< 1 2 
[Back to Index]  [Top of Thread]

Content of this site is © 2010 GummLANParty unless otherwise stated
Part of the SigmaSites Network.
© 2001-2010 Sigma Star Systems. All Rights Reserved.