javascript - how to get Previous Day? -


i have date object:

 dateobj = new date(year, month, date[, hours, minutes, seconds, ms] ) 

how dateobj - 1 day ?

dateobj.setdate(dateobj.getdate()-1); 

Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -

c# - Binding attached property to IEnumerable -