set datetime to null
set datetime to null and convert datetime? to datetime
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Shakti Singh DulawatPosted Apr 22, 2016, 3:37 AM
newdate = DateTime.Now.Date;
DateTime convertedDateTime = newdate ?? DateTime.Now;
Ranjit PowarPosted Apr 22, 2016, 3:33 AM
Minnu Merin AlexPosted Apr 22, 2016, 3:24 AM
Shakti Singh DulawatPosted Apr 22, 2016, 3:16 AM
DateTime? nullDateTime = null;