Search found 2 matches

by worldofcarp
Tue Dec 11, 2007 1:51 am
Forum: PHP - Code
Topic: want to add 6 months in the date coming from database
Replies: 3
Views: 459

If you want to do it in php do it like this:

Code: Select all

strtotime('2007-11-25 +6 months');
You have to change the date format a little to that format to work, strtotime is a little finicky sometimes
by worldofcarp
Tue Dec 11, 2007 1:42 am
Forum: PHP - Code
Topic: Timezone
Replies: 2
Views: 431

Definitely server time