Posts by RegiSenna • 11 points
1 post
-
1
votes4
answers3636
viewsA: Input date to disable the next 7 days from the current date
I was able to disable previous dates of the current one and disable Saturdays and Sundays as follows: (script) d = new Date(); y = d.getFullYear(); m = d.getMonth() + 1; //0 é janeiro d =…