The Date object has no properties; access to date and time fields is via numerous "set" and "get" methods: xmas.setYear(xmas.getYear()+1); |
There are two "static" Date methods:
|
Both convert their argument(s) to milliseconds past January 1, 1970 GMT |