hi there i would like to ask some help from people who is really good in php
my question is how will im going to truncate my date if its already expired?
for example:
$timeLaps = 15; // to be added to $date1 to set the limitations of expiration
$date1 = '2002/10/01';
$date2 = '2002/10/23';
so if you add the $timeLaps from $date1 how will im going to know on how may days did $date2 laps from $timeLaps+$date1
if we are going to check 15 days + 1 from $date1 is 16 so that means the answer should be 7 but on coding how will ill make it for me to displays the value of 7
thank you in advance