What's the best way to handle dates and times in PHP prior to 5.3?

JoeD

New Member
Well, found out that I built a relatively large program built on top of DateTime, only to find most of what I used there got added in PHP 5.3. The server I have to deploy to does not run 5.3. (And it's a Ubuntu Hardy (8.04) box which doesn't have a 5.3 package in the main repo, and I'm not allowed to install anything not in the main repos on that box...)[*]Is there some way to get a copy of the date and time function reference as was current for 5.2.4? [*]What is the best way to pass dates around? \[code\]int\[/code\]s containing unix epoch times?
 
Back
Top