From c40612041809fe289aba58aefa170bbe784aba1f Mon Sep 17 00:00:00 2001 From: t7yang Date: Mon, 10 Jan 2022 08:38:07 +0800 Subject: remove name attribute for zh-CN --- .../reference/global_objects/date/toutcstring/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/date/toutcstring/index.html') diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/toutcstring/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/toutcstring/index.html index 94caba73dd..4ec941d0db 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/date/toutcstring/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/date/toutcstring/index.html @@ -11,23 +11,23 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/toUTCString -

语法

+

语法

dateObj.toUTCString()
-

返回值

+

返回值

返回使用UTC时区表示给定日期的字符串

 

-

描述

+

描述

toUTCString 的返回值是一个使用UTC时区的易读格式字符串。返回值的格式可能随平台而变化。通常返回值是一个 RFC-1123 格式的时间戳,这是一个 RFC-822 时间戳的小幅更新版。

-

例子

+

例子

-

例子:使用toUTCString

+

例子:使用toUTCString

var today = new Date();
 var UTCstring = today.toUTCString();
@@ -65,7 +65,7 @@ var UTCstring = today.toUTCString();
 
 

{{Compat("javascript.builtins.Date.toUTCString")}}

-

相关链接

+

相关链接