- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2016 12:45 AM
Hi Guys,
I have a scenario where i need to add 5 business days to a date field. while adding 5 days it has to exclude the Saturday and Sunday.
Note: This is a date field. not a date and time.
Is there any solution?.. Please help me on this.
Thanks in advance.
Malaisamy J
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2016 09:49 PM
Hi Malaisamy,
Please replace the line var issueStartDate = current.issueStartDate.getGlideObject(); with below:
var issueStartDate = new GlideDateTime(current.issue_start);
Let me know, if this helps.
Regards,
Prajakta
PS - Please mark Helpful, Like, or Correct Answer if applicable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2016 10:00 PM
Hi Naik,
Its amazing.. It works perfectly fine.
Thank you so much.
Malaisamy J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2017 11:37 PM
On which table i am suppose to write this Business rule and it should run when??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2017 03:15 AM
Same table where you have to perform this operation, same where your date field is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2017 10:27 PM
My date field is present on my catalog,it's a variable to be precise .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2017 02:02 AM