| Author |
get day before date in javascript
|
Muhammad Imad Qureshi
Ranch Hand
Joined: Sep 13, 2005
Posts: 238
|
|
I have following function now = new Date () ; cal.addDisabledDates(null, formatDate(now,"yyyy-MM-dd")) ; what it does is disables the dates upto the date provided to format date i.e "now" in this case. I want to disable the dates upto the day before. how do i do that. Thanks Imad
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
getDate() and setDate() Eric
|
 |
 |
|
|
subject: get day before date in javascript
|
|
|