DatePrototype.toUTCString(Object) 方法
定义
创建指定的 DateObject 的字符串表示形式,其中包含以协调世界时 (UTC) 表示的星期几、月份、日期、年份和时间。Creates a string representation of the specified DateObject that contains the day of the week, the month, the date, the year, and the time, expressed in Coordinated Universal Time (UTC).
此 API 支持产品基础结构,不能在代码中直接使用。
public:
static System::String ^ toUTCString(System::Object ^ thisob);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_toUTCString)]
public static string toUTCString (object thisob);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_toUTCString)>]
static member toUTCString : obj -> string
Public Shared Function toUTCString (thisob As Object) As String
参数
- thisob
- Object
此方法所作用于的对象。The object that this method is acting upon.
返回
thisob 的字符串表示形式。A string representation of thisob.
- 属性