I need some expertise. I have 2 dates pulled out of a database record. They are in scalars $date_start and $date_end. I convert the dates to epoch and get the number of days between the 2 dates and place this value in another scalar called $day_diff_in_days. So, $date_fiff_in_days can be equal to "0" or "1" or "2" or "5" or "11" etc.
I now have to determine whether $date_diff_in_days is less or equal to an agreed service of "2" business days or less.
How would I do this ? Can anyone help me or direct me towards a way of accomplishing this by factoring in 2 weekend days each week? Is there a way of also factoring in US holidays? Thanks for any advice or assistance that you could offer. -ljs
I now have to determine whether $date_diff_in_days is less or equal to an agreed service of "2" business days or less.
How would I do this ? Can anyone help me or direct me towards a way of accomplishing this by factoring in 2 weekend days each week? Is there a way of also factoring in US holidays? Thanks for any advice or assistance that you could offer. -ljs