Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

date.setDate javascript

when setDate() is set to a value larger than the total # of days in the month, it goes to the next month. 
e.g. setDate(31) for a 30 day month will be the 1 of the next month. 
 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
3+5 =