how would I go about adding say 2 minutes to time()??
$new_time = time() + (120 * 60) ??
time()
Moderator: General Moderators
Both will do the job:
Code: Select all
$new_time = strtotime("+2 minutes");Code: Select all
$new_time = time() + 120;- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US