Hello -
I need to return a date that is 90 after a given date - this is what I'm trying:
var myDate = (Field("BookingStartDate"));
var numDaysAhead = 90;
myDate.setDate(myDate.getDate() + numDaysAhead);
return FormatDate (myDate, "lm d, yyyy");
I used several other postings to arrive at this. Any idea why this doesn't validate? It doesn't like the beginning of line 3. Any help would be much appreciated!
Thanks,
Debbie