The Date function returns the current system date.
Date函数可以返回当前系统的日期
语法
实例 1
document.write("The current system date is: ") document.write(Date) Output: The current system date is: 1/14/2002 |
尝试与演示
Date
How to use the Date Function to display the current date.
使用Date函数来显示当前的日期