DatePrototype.setUTCSeconds(Object, Double, Object) Metod

Definition

Anger sekundvärdet för ett DateObject till det angivna sekundvärdet, uttryckt i Coordinated Universal Time (UTC).

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

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

Parametrar

thisob
Object

Det objekt som den här metoden agerar på.

dsec
Double

Sekundvärdet som ska anges för thisob.

msec
Object

Millisekundersvärdet som ska anges för thisob.

Returer

Det nya värdet för thisob efter att värdet har angetts, uttryckt i UTC.

Attribut

Gäller för

Se även