Skip to content

Commit

Permalink
Using LOCALTIMESTAMP (DNET-967).
Browse files Browse the repository at this point in the history
  • Loading branch information
cincuranet committed Feb 25, 2021
1 parent 0131379 commit a8be051
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -38,8 +38,7 @@ public SqlExpression Translate(SqlExpression instance, MemberInfo member, Type r
{
if (member.DeclaringType == typeof(DateTime) && member.Name == nameof(DateTime.Now))
{
// LOCALTIMESTAMP
return _fbSqlExpressionFactory.NiladicFunction("CURRENT_TIMESTAMP", false, typeof(DateTime));
return _fbSqlExpressionFactory.NiladicFunction("LOCALTIMESTAMP", false, typeof(DateTime));
}
if (member.DeclaringType == typeof(DateTime) && member.Name == nameof(DateTime.Today))
{
Expand Down

0 comments on commit a8be051

Please sign in to comment.