Im using studio 5000 for a project and have a string that contains the date. I was wondering if someone as figued out how to get a new target date with veriable input of a future date offset.
Exmple 8/17/15 want to determine the date 30 days from now, so enter 30 days in and get 9/16/15.
I was thinking of dividing by seven and geting the week offset and adding the days after that. also would have to account for year rollover and month rollover.
Not sure of the best way to approach this problem.
Thank you!
Exmple 8/17/15 want to determine the date 30 days from now, so enter 30 days in and get 9/16/15.
I was thinking of dividing by seven and geting the week offset and adding the days after that. also would have to account for year rollover and month rollover.
Not sure of the best way to approach this problem.
Thank you!