Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • @Pandya: OP is clear about his/her question. OP wants to validate(check the entered date is valid or not) the mentioned date format but it is saying the entered date is invalid. Commented Jul 13, 2015 at 11:20
  • GNU date doesn't recognise YYYY-MMM-DD. Could you use YYYY-MM-DD or DD MMM YYYY instead? Commented Jul 13, 2015 at 12:29
  • I'm pretty sure at does, and - I think - touch does as well. I wrote a date validation shell funvtion based on touch once... nope, not touch - it only handles numerals, but at does some pretty deep parsing... Commented Jul 13, 2015 at 12:30
  • @Thushi let's clear redundant comment by us Commented Jul 13, 2015 at 13:10
  • 7
    Misread the title: Date validation is hell Commented Jul 13, 2015 at 18:43