Fix different days
 Fix the different days and also make syntax simpler by just distributing out the the adding or subtracting of 24 instead of using 2 stage bash math that caused syntax error and now do calculation of offset in bc.