DateConstructor::UTC Method (Object^, Object^, Object^, Object^, Object^, Object^, Object^)

 

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

Converts the specified date and time to its Double equivalent.

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

public:
[JSFunctionAttribute(JSFunctionAttributeEnum::None, JSBuiltin::Date_UTC)]
static double UTC(
	Object^ year,
	Object^ month,
	Object^ date,
	Object^ hours,
	Object^ minutes,
	Object^ seconds,
	Object^ ms
)

Parameters

year
Type: System::Object^

The year of the date and time to convert.

month
Type: System::Object^

The month of the date and time to convert.

date
Type: System::Object^

The date of the date and time to convert.

hours
Type: System::Object^

The hours of the date and time to convert.

minutes
Type: System::Object^

The minutes of the date and time to convert.

seconds
Type: System::Object^

The seconds of the date and time to convert.

ms
Type: System::Object^

The milliseconds of the date and time to convert.

Return Value

Type: System::Double

A Double equivalent of the specified date and time.

.NET Framework
Available since 1.1
Return to top
Show: