DateConstructor.UTC Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts the specified date and time to its Double equivalent.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static double UTC(System::Object ^ year, System::Object ^ month, System::Object ^ date, System::Object ^ hours, System::Object ^ minutes, System::Object ^ seconds, System::Object ^ ms);
[Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Date_UTC)]
public static double UTC (object year, object month, object date, object hours, object minutes, object seconds, object ms);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Date_UTC)]
public static double UTC (object year, object month, object date, object hours, object minutes, object seconds, object ms);
[<Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Date_UTC)>]
static member UTC : obj * obj * obj * obj * obj * obj * obj -> double
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Date_UTC)>]
static member UTC : obj * obj * obj * obj * obj * obj * obj -> double
Public Shared Function UTC (year As Object, month As Object, date As Object, hours As Object, minutes As Object, seconds As Object, ms As Object) As Double
Parameters
- year
- Object
The year of the date and time to convert.
- month
- Object
The month of the date and time to convert.
- date
- Object
The date of the date and time to convert.
- hours
- Object
The hours of the date and time to convert.
- minutes
- Object
The minutes of the date and time to convert.
- seconds
- Object
The seconds of the date and time to convert.
- ms
- Object
The milliseconds of the date and time to convert.
Returns
A Double equivalent of the specified date and time.
- Attributes
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기