Hello,I've changed the code a bit, now they want me to calculate the
days instead of months, the code works but its when I change select a
different month on the calendar field, for example if my start date is
2010/12/01 and end date is 2010/12/31 I gave correct results, but if my
end date is 2011/01/01 thats when I start getting incorrect
results..Below is is my code:var sDate =
util.scand("yyyy-mm-dd",startDate.rawValue);var eDate =
util.scand("yyyy-mm-dd",endDate.rawValue);if(sDate == null ||...