just save the dates ones for a year. and read the above from text file and compare with today date. and choose the near one. u only need to update once in a year.