DatePrototype::setUTCFullYear Method (Object^, Double, Object^, Object^)

 

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

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

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public:
[JSFunctionAttribute(JSFunctionAttributeEnum::HasThisObject, 
	JSBuiltin::Date_setUTCFullYear)]
static double setUTCFullYear(
	Object^ thisob,
	double dyear,
	Object^ month,
	Object^ date
)

Parameters

thisob
Type: System::Object^

The object that this method is acting upon.

dyear
Type: System::Double

The year value to set for thisob.

month
Type: System::Object^

The month value to set for thisob.

date
Type: System::Object^

The date value to set for thisob.

Return Value

Type: System::Double

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

.NET Framework
Available since 1.1
Return to top
Show: