W wxdqz New Member Aug 22, 2008 #1 I was wondering if anyone could tell me what the pattern in javascript would be for DateTime Validation, I am new to Javascript and need some help. I have written a pattern out is this correct? Example: MM/DD/YYYY HH:MM:SS AM/PM /^\d{1,2}\/\d{1,2}\/\d{4} \d{2}:\d{2}:\d{2}$/;
I was wondering if anyone could tell me what the pattern in javascript would be for DateTime Validation, I am new to Javascript and need some help. I have written a pattern out is this correct? Example: MM/DD/YYYY HH:MM:SS AM/PM /^\d{1,2}\/\d{1,2}\/\d{4} \d{2}:\d{2}:\d{2}$/;