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

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -