Instead of displaying as the first day of the year in an entry field it displays as the second
Posted on 2003-10-25
to Date. Everything works except for the Year to Date. When it is chosen rather than the beginning date field being filled with 1 January 2003 it is filled with 2 January 2003 and the ending date is filled with today's date as expected.
Any ideas where I am going wrong?
//get the year to date
var thisDateIH = "1 January, "+(agdate.getYear()+1900);
var thisDateIH = "1 January, "+(agdate.getYear());