make class as new Date code example
Example: new date parameters javascript
// new Date parameters in javascript
new Date(year, month, date, hours, minutes, seconds, ms)
// new Date parameters in javascript
new Date(year, month, date, hours, minutes, seconds, ms)