We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
位置在这个页面
new Date(milliseconds) 创建一个 Date 对象,其时间等于 1970 年 1 月 1 日 UTC+0 之后经过的毫秒数(1/1000 秒)。
// 0 表示 01.01.1970 UTC+0 let Jan01_1970 = new Date(0); alert( Jan01_1970 );
// 现在增加 24 小时,得到**02.01.1970 UTC+0** let Jan02_1970 = new Date(24 * 3600 * 1000); alert( Jan02_1970 );
The text was updated successfully, but these errors were encountered:
No branches or pull requests
位置在这个页面
new Date(milliseconds)
创建一个 Date 对象,其时间等于 1970 年 1 月 1 日 UTC+0 之后经过的毫秒数(1/1000 秒)。
// 0 表示 01.01.1970 UTC+0
let Jan01_1970 = new Date(0);
alert( Jan01_1970 );
// 现在增加 24 小时,得到**02.01.1970 UTC+0**
let Jan02_1970 = new Date(24 * 3600 * 1000);
alert( Jan02_1970 );
The text was updated successfully, but these errors were encountered: