Create your first automation in just a few minutes.Try Studio Web →
by Internal Labs
3
Snippet
898
Summary
Summary
This workflow calculates a future or previous business day based on user inputted dates
Overview
Overview
Calculates a future or previous working date based on total business days provided by user. Business days and holidays are configurable. For more about the input and output arguments, see the annotations at the beginning of the workflow.
Arguments:
- in_StartingDate (DateTime) - optional input argument which allows the user to specify the starting date. Default value is the current day
- in_FirstDayOfWeekend (System.DayofWeek) - optional input argument which allows the user to specify the first day of the weekend. Default value is Saturday
- in_SecondDayOfWeekend (System.DayOfWeek) - optional input argument which allows the user to specify the second day of the weekend. Default value is Sunday
- in_HolidayList (List) - optional input argument which allows the user to specify a list of holidays (non working days)
- in_TotalDays (Int32) - optional input argument which allows the user to specify the number of business days before or after the current date the user wants to calculate. Default value results in the output of the previous business day.
- out_WorkDay (DateTime) - the output argument of the workflow, which is the resulting business day.
NOTE: Installation Guidelines for Snippets can be found here
Features
Features
The goal of this component is to easily calculate a business date in the future or in the past. The days of the weekend can be customised. The workflow also receives a list of holidays (days which are not considered business days).
Additional Information
Additional Information
Dependencies
No dependencies
Code Language
Visual Basic
Technical
Version
1.1Updated
February 18, 2020Works with
Studio: 21.10 - 22.10
Certification
Silver Certified
Support
UiPath Community Support