Virtual Brain Online Logo

Bookmark: Root \ PHP \ Increase or Decrease Time The Easy Way

Increase or Decrease Time The Easy Way


Last Updated: 2006-07-20
This will be very useful for timeout situations.
echo strtotime("+1 day"), "\n";
echo strtotime("+1 week"), "\n";
echo strtotime("+1 week 2 days 4 hours 2 seconds"), "\n";
echo strtotime("now"), "\n";
echo strtotime("10 September 2000"), "\n";
echo strtotime("next Thursday"), "\n";
echo strtotime("last Monday"), "\n";
Originally Posted by Skylinux @ 2006-07-19 22:21:21

 

No Comments yet .....

 

Add Your Comment:

Note: All posts require administrator approval. Please allow 24 hours for message approval.

Name:
E-Mail:
Title
Plain text only, less then 65 000 characters.

Please write the numerical representation of six hundred twenty-five into the box below.

Please answer the question above and type the answer into the text box below.