php 3 months ago

36

date 3 months ago for a particular date php -

$effectiveDate = date('Y-m-d', strtotime("+3 months", strtotime($effectiveDate)));

get month days in php -

echo cal_days_in_month(CAL_GREGORIAN, 8, 2009);

Comments

Submit
0 Comments