DatePrototype.setUTCDate(Object, Double) Metod

Definition

Anger datumvärdet för en DateObject till det angivna datumvä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 setUTCDate(System::Object ^ thisob, double ddate);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_setUTCDate)]
public static double setUTCDate(object thisob, double ddate);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_setUTCDate)>]
static member setUTCDate : obj * double -> double
Public Shared Function setUTCDate (thisob As Object, ddate As Double) As Double

Parametrar

thisob
Object

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

ddate
Double

Datumvä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