I am trying to validate a date in format MM/DD/YYYY HH:MM:SS AM/PM in javascript. I am unable to find any good answer tried other results but did not work. This issue has been asked for asp.net but not with javascript in the following question:
but has not helped me.
Example dates that I need to check is
05/13/2012 12:00:00 AM
I am validating the data cells in the csv file. These cells have some dates in the above format as well. I am checking the labels to these cells. like DATE, STRING etc. I am new thus dont know how to create them myself.