共用方式為


SqlFunctions.CurrentTimestamp 方法

定義

傳回目前的日期和時間。

[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)

傳回

目前日期和時間。

屬性

適用於