Question
Axeom LLC
US
Last activity: 12 Mar 2019 8:51 EDT
How to calculate business days based on specific calendar time zones.
As per our current requirement, If user select Install Quarter Date, Installation Date will be calculating based on last day of calendar date minus 10 business days.
As per our current requirement, If user select Install Quarter Date, Installation Date will be calculating based on last day of calendar date minus 10 business days.
Install Quarter Dates:Q1- 31MarQ2- 30JunQ3- 30SepQ4- 31DecInstallation Date = @addBusinessDaysToDate(Install Quarter Date, -10, 0, 0, 0, true, CalendarName)Eg: @addBusinessDaysToDate( 20190930T000000.000 GMT, -10, 0, 0, 0, true, Cal_CA_2019 ) It returns
20190916T080000.000 GMT
- Observe that Installation Date is displaying as 16-Sep-2019 which is 11th business day.
We have multiple regions and Time zones will be changed based country.