title: how to validate year in dateformat dart?
body: <p>My issue is I'm getting date data as 12-06-467346 as date,.how to validate the year.</p>
  <p>Issue: 12-06-467346
  if the year character is more than 4, I need to block this and then I need toreturn the current date</p>