Handle dates with time

require date to get parse method
Use DateTime.parse as Date.parse truncates the time component