|
@@ -2458,7 +2458,7 @@ ORDER BY c.name_last, c.name_first
|
|
|
$careMonthStartDate = '2022-01-01';
|
|
|
}
|
|
|
|
|
|
- $lastDateOfMonth = new DateTime(date("Y-m-t", strtotime($careMonthStartDate)));
|
|
|
+ $lastDateOfMonth = new DateTime(date("Y-m-t", strtotime(get_current_date())));
|
|
|
$today = new DateTime(get_current_date());
|
|
|
$diff = $lastDateOfMonth->diff($today);
|
|
|
$daysBetweenNowAndEndmonth = $diff->days;
|