Skip to content

How to use TIME ZONE AT? #4688

Answered by MaceWindu
Janjanus asked this question in Q&A
Discussion options

You must be logged in to vote

E.g.

[Sql.Expression("{0} AT TIME ZONE {1}", IsNullable = Sql.IsNullableType.SameAsFirstParameter)]
public static int? AtTimeZone(DateTimeOffset? datetime, string tzId) => throw new InvalidOperationException();

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Janjanus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants