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.

How many full bottles of water do you have when you drink one of your two bottles of water?

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