I am trying to calculate when the next test date is. It is 10 years from the last test but not until the end of whatever year it is in.
So if the date is 5/1/02 then the next test is not due until 12/31/12. I have used this code
to get the 10 years added but I am not sure how to get it to go to the end of that year.Code:=DateSerial(Year([LastCoilTest])+10,Month([LastCoilTest]),Day([LastCoilTest]))
Thanks