Default dates?

Default dates?

In my application, I want to capture the most recent of several date fields in one field (example code below - the latest contact date field should be populated with First_Visit (date) or Second_Visit (date), whichever is more recent.)

I've found that the code below only works if I have already populated the Latest Contact Date with a real date, like 01-Jan-1990. I'm guessing that the initialized value for Latest Contact Date is not something that is less than most dates. However, I cannot find anything that states what the initialized value is (so that I can add a check for it to my logic below), and I cannot find something that indicates how to default a date ONLY if a user has not entered a date. Can someone give me some advice on this? Thanks!

if (input.First_Visit > input.Latest_Contact_Date)
{
input.Latest_Contact_Date = input.First_Visit;
}
if (input.Second_Visit > input.Latest_Contact_Date)
{
input.Latest_Contact_Date = input.Second_Visit;
}