get start and end of week
time difference computation