We are Ellucian-ILP integrated with Blackboard. Colleague is pushing over all of our courses/users/enrollments.
In the Field Mappings for Courses, we're using the following custom script that was provided to us:
var timeFrames = data.getCourseSection().getTimeFrames();
var endDate = timeFrames.get(0).getEnd();
This script is taking the course End Date being sent over by Colleague, and changing the time to 23:59:59 instead of 00:00:00. It is functioning correctly.
We want to MODIFY the script so in addition to what it's already doing, it'll add three days to whatever date is being sent over. So for example is 11/30/18 is sent over, we'd like it to modify it to 12/03/18 23:59:59. Can anyone help me with some code?