title: How can a program remember the time it was last run?
body: <p>I'm making a simple program that copies files created or modified since it was last run. What's the best way to store the time the program itself was last run? I was thinking it could have a text file that it would store the date and time in but is there a way that doesn't require external files? Windows has a "last modified" date but I don't know of a "last used" date.</p>