Hello friends🙂 If I have the below dates how can I subtract to get the number of days?
$enter_date = 2006-01-01; $complete_date=2006-03-01; $total_days= $complete_date - $enter_date;
Take a look at the Date and Time Functions.