Ho wto check if date is equal to default date or null.
if (dateTimeVariable == default(DateTime))
{
//do work for dateTimeVariable == null situation
}
ConversionConversion EmoticonEmoticon