javascript - Convert date string to date -


i have string mar 7 2012.

how convert date object, can use mydate.getdate(), mydate.getmonth(), mydate.getfullyear() etc?

well, pretty simple

var d =new date("march 7 2012"); document.write(d.getmonth()); //use 

Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -