Uipath Marketplace

Create your first automation in just a few minutes.Try Studio Web

Get Working Date

Get Working Date

by Shubham Pratap

StarStarStar

3

Snippet

Downloads

81

back button
back button
carouselImage0
next button
next button

Summary

Summary

Calculate and get a working date starting with current date.

Overview

Overview

This snippet can be used to calculate a date after certain working days starting from current date.

While calculating dates, the process ignores:

  1. Week OFF "Saturday and Sunday" (or days of the week passed as input argument "in_strWeekOffDays").
  2. Holiday Dates passed in "MM/dd" format as comma separated String to input argument "in_strHolidayDates".

Note: If Holiday dates are year specific, then please pass date in string using the "MM/dd/yyyy" format.

Input Arguments:

  1. in_intWokingDaysCount (int) - input of number of days required.
  2. in_strWeekOffDays (String) - comma separated values of days of the week which are to be considered as non-working days, e.g.: "Saturday,Sunday".
  3. in_strHolidayDates (String) - comma separated values of dates which are to be considered as to be holiday, e.g.: "07/04,08/15,01/18/2018".
  4. out_dateAfterWorkingDays (String) - Date in "MM/dd/yyyy" format after "x" working days from current date.

Features

Features

Any business scenario requires dates which are working days ahead of today's date. This is a simple snippet which can be invoked in any project to obtain the dates, considering holidays and weeks off.

Additional Information

Additional Information

Dependencies

UiPath.System.Activities

Code Language

Visual Basic

Publisher

Shubham Pratap

Visit publisher's page

License & Privacy

MIT

Privacy Terms

Technical

Version

1.0.0

Updated

Jul 14, 2023

Works with

Studio: 21.10 - 22.10

Certification

Silver Certified

Support

UiPath Community Support

Similar Listings