DatePrototype.getSeconds(Object) 方法

定义

获取指定的 DateObject 的秒钟值。Gets the seconds value of the specified DateObject.

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

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

参数

thisob
Object

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

返回

Double

thisob 的秒钟值。The seconds value of thisob.

属性

适用于

另请参阅