[TriLUG] quuick PHP date question

Greg Brown gwbrown1 at gmail.com
Thu Aug 17 09:31:26 EDT 2006


Okay, I can get the second from EPOCH fairly easily:

$rightNow= mktime();

now I want to add 604800 seconds to that date and revert it back to a
printed date.  How do I do that in PHP?  I'm surfing php.net and havne't
found the easy solution yet.

Greg



More information about the TriLUG mailing list