SyntaxFix
Write A Post
Hire A Developer
Questions
In the format you've provided, assuming the user is smart enough to give you valid dates, you don't need to convert to a date first, you can compare them as strings.