Date and Time Object Date.getdate () returns the day of the one month Date.getday () returns the day of the Week Date.getfullyear () returns the year field of the Date object Date.gethour S () Returns the hour field of the Date Object Date.getmilliseconds () returns the millisecond field of the Date Object Date.getminutes () returns the minute field of the Date Object Date.getmonth () returns the date The month field of the object Date.getseconds () returns the second field of the Date Object Date.gettime () returns the millisecond of the Date object Date.gettimezoneoffset () determines the time difference from GMT Date.getut CDate () Returns the day that is one months (world time) Date.getutcday () returns the day of the Week (World Time) Date.getutcfullyear () returns the year (World Time) date.getutchours () return Date object's Hour field (World time) Date.getutcmilliseconds () Returns the millisecond field of the Date object (World time) Date.getutcminutes () returns the minute field of the Date object (World time) Date.getutcmonth () returns the month of the Date object (World time) Date.getutcseconds () returns the Date object's second field (World Time) Date.getyear () returns the Date object's Year field (World time) date . Parse () Parse date/time stringDate.setdate () set a day for one months Date.setfullyear () set the year, or you can set the month and Day Date.sethours () to set the Hour field, minute field, second field, and millisecond field for the Date object Date.setmi Lliseconds () Sets the millisecond field of the Date Object Date.setminutes () sets the minute and second fields of the Date Object Date.setmonth () Sets the month field and the day field of the Date object Date.setseconds ( Sets the Date object's second field and the Millisecond field date.settime () sets the Date Object Date.setutcdate () in milliseconds set a day in one months (world time) date.setutcfullyear () sets the year, month Share and Day (world Time) date.setutchours () Sets the hour field of the Date object, the minute field, the second field, and the Millisecond field (World time) Date.setutcmilliseconds () Sets the millisecond field of the Date object (World time) Date.setutcminutes () Sets the minute field and the second field (world time) of the Date Object Date.setutcmonth () sets the Date object's month field and the day number segment (World time) date.setutcseconds () Setting da The second field of the Te object and the Millisecond field (at the time of the World) Date.setyear () sets the Date object's Year field date.todatestring () to return a dates object as a string date.togmtstring () to convert date to World time String Date.tolocaledatestring () returns the date part of a Date object as a locally formatted string date.tolocalestring () Converts a date to a locally formatted string date.tolocaletimestring () returns the time portion of a Date object as a locally formatted string date.tostring () Converts date to string date.totimestring () to return the Date object as a string date.toutcstring () to convert date to a string (World time) DATE.UTC ( Converts the date specification to milliseconds date.valueof () converts date to milliseconds
JS Date type processing