CurrentUtcDateTime Method

EdmFunctions.CurrentUtcDateTime Method ()

.NET Framework (current version)

Creates a DbFunctionExpression that invokes the canonical 'CurrentUtcDateTime' function.

Namespace:   System.Data.Common.CommandTrees.ExpressionBuilder
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public static DbFunctionExpression CurrentUtcDateTime()

Return Value

Type: System.Data.Common.CommandTrees.DbFunctionExpression

A new DbFunctionExpression that returns the current UTC date and time as an Edm.DateTime instance.

.NET Framework
Available since 4.5
Return to top
© 2016 Microsoft