Heres How I would Say to Do THis, 1ST get the ability to Read and write INI's in your program, Some Where in this website there is A INI example, Note If you want to figure that stuff out with the dates then you have to make your program 1St detect that the ini is missing and write that date, then detect when it is 30 day in advance.