Replace
Textreader tr = new StreamReader("date.txt");
with
StreamReader tr = new StreamReader("date.txt");
By the way, there no situations when hard-code file names should be used, neither absolute no relative paths. Do you know that this code depends on the working directory which depends on how the user runs your application?
All paths should be calculated during run time based on your entry assembly location of some configuration file data. Alternatively, you get file paths form the user via file dialogs.
—SA