echo strftime("<format>", $rightNow + 604800);

where <format> is a set of tags described in the php.net docs for the strftime function.

HTH,
~Brian

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

--
----------------
Brian A. Henning
strutmasters.com
336.597.2397x238
----------------
--
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