SqlFunctions.CurrentTimestamp Method

Definition

Returns the current date and time.

[System.Data.Entity.DbFunction("SqlServer", "CURRENT_TIMESTAMP")]
public static Nullable<DateTime> CurrentTimestamp ();
static member CurrentTimestamp : unit -> Nullable<DateTime>
Public Shared Function CurrentTimestamp () As Nullable(Of DateTime)

Returns

The current date and time.

Attributes

Applies to