SyntaxFix
Write A Post
Hire A Developer
Questions
Why not skip the string altogether :
SqlDateTime myDateTime = DateTime.Now;