5 minutes = 300
- in PHP 5 mins from now would be (time()+60*5)
1 hour = 3600
- in PHP 1 hr from now would be (time()+60*60)
1 day = 86,400
- in PHP 1 day from now would be (time()+60*60*24)
1 week = 604,800
- in PHP 1 wk from now would be (time()+60*60*24*7)
1 year = 31,536,000
- in PHP 1 yr from now would be (time()+60*60*24*365)
Leave a Reply
You must be logged in to post a comment.