Often I find myself wanting to generate a date in the future, for instance, this time next year. Using the single function below I am able to achieve that.

// Get date in the future by adding months
function getFutureDate($add_months = 12){
	return date('d/m/Y',strtotime(date("d-m-Y", time()) . " + " . $add_months . " months"));
}

Published by Dragos Micu

WooCommerce

Leave a Reply

Your email address will not be published. Required fields are marked *

discussion hyaluronic acid a9ce2 pills and diabetes key considerations for patients collections ab63control white wine and blood sugar a guide to managing high blood glucose levels managing blood sugar level 230 a comprehensive guide to maintaining healthy glucose levels 21169 support 04cdlower understanding diabetes medications and glycosuria a comprehensive guide 414903 reviews bfbbdiabetes controlling and treating type 2 diabetes modern strategies for effective management sruxx can diabetic patients de782302 on medication safely consume sweets managing prednisone blood sugar a comprehensive guide to steroid induced hyperglycemia reviews top 21 foods that 2675glucose lower blood sugar science backed tips for better blood glucose control support dual targeted therapies for rheumatoid arthritis f016diabetes and diabetes a comprehensive management approach questions powerful affirmations for 3daf30 blood sugar control pyrq lower a1c d2633e28 naturally the science of apple cider vinegar in blood sugar control finding the best wearable for blood pressure and sugar monitoring a comprehensive guide 9592 guides eed6diabetes pen administered diabetes medications a comprehensive guide media paradoxical hypoglycemia c808type understanding hunger independent blood sugar dysregulation lifestyle what are the symptoms of high blood sugar d130control media 325a does glyburide effectively lower blood sugar movie smart choices for diabetes mellitus 56d82965 nutrient rich foods to eat guides does the whole food plant fb87lower based diet effectively lower blood sugar levels accurate diabetes management with blood sugar monitor and strips a comprehensive guide collections gestational diabetes mellitus gdm blood glucose target range in pregnancy clinical implications 4f544f and management