DatePrototype::setDate Method (Object^, Double)

 

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

Sets the date value of a DateObject to the specified date value.

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

public:
[JSFunctionAttribute(JSFunctionAttributeEnum::HasThisObject, 
	JSBuiltin::Date_setDate)]
static double setDate(
	Object^ thisob,
	double ddate
)

Parameters

thisob
Type: System::Object^

The object that this method is acting upon.

ddate
Type: System::Double

The date value to set for thisob.

Return Value

Type: System::Double

The new value of thisob after the value is set.

.NET Framework
Available since 1.1
Return to top
Show: