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 pre diabetes and 0a9c hypoglycemia key insights and management strategies health oral glucose tolerance test bce8diabetes blood sugar measurement with 75g glucose best foods to control blood sugar levels a comprehensive guide 72641 news top foods to reduce d1cec2a high blood sugar science backed strategies for better health what to eat low blood sugar a comprehensive guide to managing hypoglycemia support effective and evidence based nursing strategies for diabetes management a patient centered approach f016control food to avoid for high blood sugar a comprehensive guide to managing diabetes guides top ed b87376b medications for diabetic patients a guide to effective erectile dysfunction treatment managing low blood sugar levels a comprehensive guide to symptoms treatment and preventio finding the most accurate blood sugar meter for reliable diabetes management 70639 foods that bring down blood sugar fast a comprehensive guide 12799 health postprandial blood sugar levels in diabetes 3b51 when they drop below fasting levels maintaining healthy levels with a blood sugar support supplement a comprehensive guide 2854 article why does blood sugar drop on the 1354control keto diet after eating news 22d1sugar managing high blood sugar essential tips and remedies for diabetics the best exercise to lower blood sugar a comprehensive guide 30372 cinnamon gummies for blood sugar reviews a comprehensive guide to managing diabetes managing a blood sugar of 225 a comprehensive guide to regaining control 26479 can keto gummies cause high blood pressure a comprehensive analysis do apples spike blood sugar separating fact from fiction 670825