Defining business hours using offset hours
The use of the Offset Hours field as described in this section is not recommended in Business Time 2.0.
Business time is calculated on the server and requires that start and end times be in the range of 0-24 hours. An invalid business time is adjusted using the Offset Hours field on the Business Time Workdays form. An example could be a valid business time on a client several time zones away from the server. The time on the client might become invalid on the server if it crosses midnight after the time-zone adjustment. The Offset Hours field is used in this situation.
Setting a positive offset moves the time later, a negative offset moves it earlier. Unique offset times are not required. Any adjusted range defined with the offset hours is valid in the AR System server as long as it falls into a single 0-24 hour range. For tracking purposes, use the Scheduling Diary field to document how the offset adjustment is made.
The Offset Hours field are useful in the following situations:
- Business hours that span over midnight.
For example, a business's Open Time is 10:00:00 P.M. and its Close Time is 6:00:00 A.M. Because the AR System server does not allow Business Time to span midnight, enter this workday as 1:00:00 A.M. to 9:00:00 A.M. (0-24 hour range) with an offset of -3.
On the other hand, you could have specified a positive offset of 7 hours to adjust your business hours to a new Open Time of 3:00:00 P.M. and a new Close Time of 11:00:00 P.M.
- Business hours that span midnight with different time zones.
In this circumstance, you have to derive the offset hour by considering both factors. The goal is to specify the offset hours to adjust the Open and Close Time to 0-24 hour range on the server.
For example, the server is 6 hours behind the client in a different time zones. On the client, the schedule is 2:00:00 A.M. and 10:00:00 A.M. Specify a positive offset number (6) because the server is behind the client, to adjust 2:00:00 A.M. and 10:00:00 A.M. on the client to be 8:00:00 P.M. and 4:00:00 A.M. on the server. Then, to adjust to the 24-hour period, use a number (such as 5) to adjust the calculation, For example: 8 P.M. - 5 = 3 P.M., and 4 A.M. - 5 = 11 P.M. Considering both together, the final calculated offset is 6 + 5 = 11.