Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
c# get offset from timezone
John Rambo
Programming language:
C#
2021-05-12 15:40:13
1
Q:
c# get offset from timezone
yellow210
Code:
C#
2021-03-29 21:53:14
var offset = TimeZoneInfo.Local.GetUtcOffset(DateTime.UtcNow);
1
Tags
get
time
set
off
Related
instantiate offset unity
convert datetime to user timezone c#
New to Communities?
Join the community