toshortdatestring on nullable datetime code example
Example 1: how to convert nullable datetime toshortdatestring
DateTime? dt = (DateTime?)DateTime.Now;
string dateToday = string.Format("{0:d}", dt);
Example 2: how to convert nullable datetime toshortdatestring
if (yourDate.HasValue) {
var shortString = yourDate.Value.ToShortDateString();
}