EntityFunctions.CreateDateTimeOffset(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Double>, Nullable<Int32>) EntityFunctions.CreateDateTimeOffset(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Double>, Nullable<Int32>) EntityFunctions.CreateDateTimeOffset(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Double>, Nullable<Int32>) EntityFunctions.CreateDateTimeOffset(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Double>, Nullable<Int32>) Method

Definición

Invoca a la función canónica CreateDateTimeOffset.Invokes the canonical CreateDateTimeOffset function. Para información sobre la función canónica CreateDateTimeOffset, vea Funciones canónicas de fecha y hora.For information about the canonical CreateDateTimeOffset function, see Date and Time Canonical Functions.

public:
 static Nullable<DateTimeOffset> CreateDateTimeOffset(Nullable<int> year, Nullable<int> month, Nullable<int> day, Nullable<int> hour, Nullable<int> minute, Nullable<double> second, Nullable<int> timeZoneOffset);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "CreateDateTimeOffset")]
public static Nullable<DateTimeOffset> CreateDateTimeOffset (Nullable<int> year, Nullable<int> month, Nullable<int> day, Nullable<int> hour, Nullable<int> minute, Nullable<double> second, Nullable<int> timeZoneOffset);
static member CreateDateTimeOffset : Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<double> * Nullable<int> -> Nullable<DateTimeOffset>
Public Shared Function CreateDateTimeOffset (year As Nullable(Of Integer), month As Nullable(Of Integer), day As Nullable(Of Integer), hour As Nullable(Of Integer), minute As Nullable(Of Integer), second As Nullable(Of Double), timeZoneOffset As Nullable(Of Integer)) As Nullable(Of DateTimeOffset)

Parámetros

year
Nullable<Int32>

Elemento de año de la nueva fecha.The year part of the new date.

month
Nullable<Int32>

Elemento de mes de la nueva fecha.The month part of the new date.

day
Nullable<Int32>

Elemento de día de la nueva fecha.The day part of the new date.

hour
Nullable<Int32>

Elemento de hora de la nueva fecha.The hour part of the new date.

minute
Nullable<Int32>

Elemento de minutos de la nueva fecha.The minute part of the new date.

second
Nullable<Double>

Elemento de segundos de la nueva fecha.The seconds part of the new date. Observe que puede especificar fracciones de segundo con este parámetro.Note that you can specify fractions of a second with this parameter.

timeZoneOffset
Nullable<Int32>

Elemento de desplazamiento de zona horaria de la nueva fecha.The time zone offset part of the new date.

Devoluciones

La nueva fecha.The new date.

Comentarios

No se puede llamar directamente a esta función.You cannot call this function directly. Esta función solo puede aparecer dentro de una consulta de LINQ to Entities.This function can only appear within a LINQ to Entities query.

Esta función se traduce en una función correspondiente en la base de datos.This function is translated to a corresponding function in the database.

Se aplica a