time()
Posted: Sun Jun 04, 2006 5:55 pm
how would I go about adding say 2 minutes to time()??
$new_time = time() + (120 * 60) ??
$new_time = time() + (120 * 60) ??
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
$new_time = strtotime("+2 minutes");Code: Select all
$new_time = time() + 120;