MarketplaceStudioSnippetHexaware - Get Working Date

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

Hexaware - Get Working Date

Hexaware - Get Working Date

by YouTube

StarStarStarStarStar

2

Snippet

Downloads

<100

back button
back button
carouselImage0
next button
next button

Summary

Summary

Calculate and get a working date from current date

Overview

Overview

Reusable code to calculate the date after certain working days starting with the current date.

While calculating the date, the process ignores the following:

  1. Week OFF "Saturday and Sunday" (or day of week pass as input argument "in_strWeekOffDays" )

  2. Holiday Dates passes 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 as "MM/dd/yyyy" format

Input Arguments:

  1. in_intWokingDaysCount (int) - input of no. of day's date needed

  2. in_strWeekOffDays (String) - comma separated values of days of week which are to be considered as non-working days eg: "Saturday,Sunday"

  3. in_strHolidayDates (String) - comma separated values of Date's which are to be considered as to be holiday eg: "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 scenarios requires a date which is some working days ahead of today's date. This is a simple workflow which can be invoked in any project to get the date, considering holiday's and week-off's.

Additional Information

Additional Information

Dependencies

UiPath.System.Activities

Code Language

Visual Basic

Publisher

YouTube

Visit publisher's page

Trusted Source

License & Privacy

MIT

Privacy Terms

Technical

Version

1.0.0

Updated

February 18, 2020

Works with

Build on 2019.4.2 Compatible with previous and current UiPath versions

Certification

Silver Certified

Tags

Support

UiPath Community Support

Similar Listings