다음을 통해 공유


SqlFunctions.GetUtcDate 메서드

정의

datetime 값으로 현재 데이터베이스 시스템 타임스탬프를 반환합니다. 데이터베이스 표준 시간대 오프셋이 포함되어 있지 않습니다. 이 값은 현재 UTC(Coordinated Universal Time) 시간을 나타냅니다. 이 값은 SQL Server 인스턴스를 실행하는 컴퓨터의 운영 체제에서 파생됩니다.

[System.Data.Entity.DbFunction("SqlServer", "GETUTCDATE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public static Nullable<DateTime> GetUtcDate();
static member GetUtcDate : unit -> Nullable<DateTime>
Public Shared Function GetUtcDate () As Nullable(Of DateTime)

반환

현재 데이터베이스 UTC 타임스탬프입니다.

특성

적용 대상