updated time modification to also include weekends