Added code to recalculate the time zones offeset if the date changes

Added code to recalculate the time zones offeset if the date changes

issue A24Group/Triage#2806