DatePrototype.getUTCMonth(Object) 方法

定义

获取以协调世界时 (UTC) 表示的指定 DateObject 的月份值。Gets the month value of the specified DateObject, expressed in Coordinated Universal Time (UTC).

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 static double getUTCMonth(System::Object ^ thisob);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_getUTCMonth)]
public static double getUTCMonth (object thisob);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_getUTCMonth)>]
static member getUTCMonth : obj -> double
Public Shared Function getUTCMonth (thisob As Object) As Double

参数

thisob
Object

此方法所作用于的对象。The object that this method is acting upon.

返回

Double

以 UTC 表示的 thisob 的月份值。The month value of thisob, expressed in UTC.

属性

适用于

另请参阅