Aaron S. Joyner wrote:

Greg Brown wrote:

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

See the other PHP thread for why you'd be a lot better off asking for +1
week.  :)  I'll let someone else fill in the PHP function details, I've
got to bolt out the door.

Aaron S. Joyner
I agree, you are probably looking to do something like this...
$nextWeekDate = date(|'m/d/Y', strtotime('+1 week'));

Craig Duncan

|
--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/

Reply via email to