commenting an logic for houres od 2 diff dates