defining months to use in calculation
Trying to take a range of month/date to utilize in calculation below...
var d = new Date(this.rawValue);
YearTraveled.rawValue = d.getYear()+1900
if (this.resolveNode("YearTraveled").rawValue == "2020") {
this.resolveNode("TravelReimbursement").rawValue = ".575";
}
if (this.resolveNode("YearTraveled").rawValue == "2021") {
this.resolveNode("TravelReimbursement").rawValue = ".560";
I want the next action to say...
if MonthTraveled is (July 2022 thru December 2022)
this.resolveNode("TravelReimbursement").rawValue = ".625";