SyntaxFix
Write A Post
Hire A Developer
Questions
Dim regDate As Date = Date.Now.date
This should fix your problem, though it's 2 years old!