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 *

revitalize your sexual vitality the ultimate male enhancement cream for lasting power and confidence max performance supplements fuel your body for unstoppable results erectile dysfunction at 70 effective treatments and natural remedies for improved sexual health ayurveda medicine a natural cure for erectile dysfunction is male enhancement honey safe a comprehensive guide rhino platinum 10k unleash ultimate male enhancement power with premium formula discover purekana cbd gummies reviews unlock natural wellness healthier living cbd gummies for first time use a beginner s guide to getting started transform your wellness sugar free cbd gummies for natural energy vitality experience the power of 2500mg cbd vantage gummies unlock your full potential for natural relaxation wellness bliss cbd gummies unlock your path to natural wellness morristown weight loss pill market trends risks and benefits analysis unlock the power of premium keto gummies transform your weight loss journey with science backed ingredients semaglutide tablets weight management benefits and administration guidelines what s in keto gummies the essential ingredients to unlock a healthy lifestyle maximize fat loss ultimate fat burning workout guide purekana keto bhb gummies fuel your ketogenic lifestyle with energy support weight watchers ceo s transformative weight loss journey a blueprint for health and wellness revolutionize your keto diet tamela mann s weight loss gummies the ultimate game changer for sustainable weight loss bid farewell to stubborn fat kelly keto gummies the revolutionary weight loss solution that works