The purpose of the Working Hours module is to allow you to calculate target times based on working hours (hours of operation) for a location. It takes a start time, a duration and a location, and returns an end time taking into account the working hours and holidays defined for that location.
Other functions will take a start time and subtract a duration (of working hours) from it, or will take two timestamps and calculate the working hours duration between them – the elapsed working hours.
Locations are also linked to their timezones, and will adjust the output based in the working hours and timezone of the location. This is ideal for applications that are used across multiple locations.
Modules5 stars, based on 1 votes
quang nhat tran