$time calculate business hours

Allows you to calculate business hours between two dates.


Example

Running this code will calculate the business hours between the starting date "01/20/2015 09:30:00" to the end date "01/20/2021 06:00:00" with the following opening hours:

  • Opening hours: 08:00 to 16:00

This is shown in the UBot browser.

load html($plugin function("Time and Date Automation.dll", "$time calculate business hours", "08:00;16:00", "01/20/2015 09:30:00", "01/20/2021 06:00:00", "UBOT (MM/dd/yyyy HH:mm:ss)"))

Was this helpful?

Previous Article

$time between

Next Article

$time compare