We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
Will this work? (got an idea after looking at your code)
function NextPaymentDate() { # Next payment is the 1st if(date('d') >= 15) { $month = date('Month', strtotime('+1 month')); $year = date('Y',strtotime('+1 month')); return $month." 1st, ".$year; }else{ # Next payment is on the 15th return date('F')." 15th, ".date('Y'); }}
Open in new window