DatePrototype.getTime(Object) 方法

定义

获取指定的 DateObject 的时间值。Gets the time value of the specified DateObject.

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

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

参数

thisob
Object

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

返回

Double

thisob 的时间值。The time value of thisob.

属性

适用于

另请参阅