Taylor Murphy

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Add days to a date field #31826
    Taylor Murphy
    Participant

      Thanks so much for your response! Where would I put that code? Would it replace a specific part of the code referenced previously? I am having a hard time figuring out where exactly to place the code within the snippet from 02/2018.

      in reply to: Add days to a date field #31803
      Taylor Murphy
      Participant

        Hi Alex!

        I was able to get the following code to work in my SharePoint, which is awesome! However, I am looking to modify this to have the date populate to the next business day. For example, I have a rule set up to calculate the next Follow Up Date (field 1) based on the Initial Entry Date (field 2) and the value selected in the Follow Up Type field (field 3). Right now, this code works perfectly, except for the fact that it will set the Follow Up Date to a weekend. I still need it to add calendar days (do not want it to add business days) but want to have it set to populate the next business day if it happens to fall on a Sat or Sun.
        Example:
        {Initial Entry Date}+3
        {Thu,10/1/2020} + 3 = Mon,10/5/2020 (instead of Sun, 10/4/2020}

        Any help is greatly appreciated!!!

      Viewing 2 posts - 1 through 2 (of 2 total)