I am doing the month calendar objects on one form and i save the date to the registry. I do this by creating the subkey and in that key I create a value and I pass the date from the month calendar control by doing monthCalendar.SelectionStart. This puts the date value into the registry.
On the other form I read the registry key and set it to a string. I would like to compare that date to the date modified (or IO.File.GetLastWriteDate) of certain files. The date that is sent to the registry from the month calendar object is something like 7/22/2006 12:00:00 AM. How can I just compare the two dates?



Reply With Quote
