Szerkesztés

Megosztás a következőn keresztül:


DatePrototype.setUTCFullYear(Object, Double, Object, Object) Method

Definition

Sets the year value of a DateObject to the specified year value, expressed in Coordinated Universal Time (UTC).

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

thisob
Object

The object that this method is acting upon.

dyear
Double

The year value to set for thisob.

month
Object

The month value to set for thisob.

date
Object

The date value to set for thisob.

Returns

The new value of thisob after the value is set, expressed in UTC.

Attributes

Applies to

See also