Hi there,you are mixing JavaScript with FormCalc, make sure to use only FormCalcboth if statement are wrong using formcalcIf the code above is still not working, try using Date2Num instead of IsoDate2Num, it basically does the same thing, I just never used IsoDate2NumAlways make sure to not put ";" ...