How do you check for if datetime is null?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I want to check if datetime is null. 
If it is null assign empty value else assign whatever the value is?
<br/>
private DateTime? _modifiedDate;
<br/>
public DateTime? ModifiedDate
{
     get{ return _modifiedDate;}
     set{....................................;}
}
<hr class=sig>
creativity..

View the full article
 
Back
Top