定义和用法. toLocaleDateString() 方法可根据本地时间把Date 对象的日期部分转换为字符串,并返回结果。 语法. dateObject.toLocaleDateString(). 返回值.
確定! 回上一頁