SyntaxFix
Write A Post
Hire A Developer
Questions
I got this solution and it is working for me
if (myNewDT.MyDateTime == null) { myNewDT.MyDateTime = DateTime.Now(); }