added time calculations for current day

added time calculations for current day