date after 3 months??

They have: 164 posts

Joined: Nov 2001

hi, i want to know the date after 3 months...for eg today is 27-09-2002, how to know the date after 90 days??

They have: 447 posts

Joined: Oct 1999

well since theres 3600 seconds in an hour, and 24 hours in a day, the unixtime in 90 days is time() + (3600*24*90)

echo date('d-m-Y', time() + (3600*24*90));
// (which happens to be christmas day, merry xmas! Smiling

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.