You could add a Settings.settings file to your application. When you edit this file in VS you have to change the Scope to User. After that: DateTime _date = DateTime.Today; if (_date.Year > Properties.Settings.Default.MyDateOfSomething.Year) { Properties.Settings.Default.MyDateOfSomething = _date; } Properties.Settings.Default.Save(); Properties.Settings.Default.Upgrade();