📜  javascript 日期是一个对象 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:14.380000             🧑  作者: Mango

代码示例1
The Date object is a datatype built into the JavaScript language. Date objects are created with the new Date( ) as shown below. ... Most methods simply allow you to get and set the year, month, day, hour, minute, second, and millisecond fields of the object, using either local time or UTC (universal, or GMT) time.