I want convert VBscript into JavaScript, which checks whether date is valid or not. In VBscript they have used isDate
builtin function which is not in having JavaScript. my date format is (mmm d,yyyy)
ex : May 14,2015
VBscript :
sub CheckDateClient(sender, args)
if isDate(args.value) then
args.IsValid = True
else
args.IsValid = False
End If
end sub
Please help me in converting this or any other script which can perform desitred requirement