EntityFunctions.GetTotalOffsetMinutes(Nullable<DateTimeOffset>) Method

Definition

Invokes the canonical GetTotalOffsetMinutes function. For information about the canonical GetTotalOffsetMinutes function, see Date and Time Canonical Functions.

public:
 static Nullable<int> GetTotalOffsetMinutes(Nullable<DateTimeOffset> dateTimeOffsetArgument);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "GetTotalOffsetMinutes")]
public static int? GetTotalOffsetMinutes (DateTimeOffset? dateTimeOffsetArgument);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "GetTotalOffsetMinutes")>]
static member GetTotalOffsetMinutes : Nullable<DateTimeOffset> -> Nullable<int>
Public Shared Function GetTotalOffsetMinutes (dateTimeOffsetArgument As Nullable(Of DateTimeOffset)) As Nullable(Of Integer)

Parameters

dateTimeOffsetArgument
Nullable<DateTimeOffset>

A valid date time offset.

Returns

The number of minutes that the dateTimeOffsetArgument is offset from GMT. This is generally between +780 and -780 (+ or - 13 hrs).

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database.

Applies to