# Date Validation using Javascript

**URL:** <https://forum.kirupa.com/t/date-validation-using-javascript/218126>\
**Category:** web dev\
**Created:** [March 5, 2007, 9:26am UTC](https://forum.kirupa.com/t/date-validation-using-javascript/218126 "2007-03-05T09:26:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![silverType](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@silverType](https://forum.kirupa.com/u/silverType)\
**Post date:** [March 5, 2007, 9:26am UTC](https://forum.kirupa.com/t/date-validation-using-javascript/218126/1 "2007-03-05T09:26:24Z")

</div>

Hi guys,  
I am trying to validate a date according to this format: dd MMM yyyy

Not only should the date string conform to this format, it must be a valid date as well.

I’ve tried googling for it but haven’t found any good scripts to do that. Anyone here has any good recommendations?

Thanks in advance.
