You can try this:-
DateTime? dt = string.IsNullOrEmpty(date) ? (DateTime?)null : DateTime.Parse(date);
1.4m articles
1.4m replys
5 comments
57.0k users