Reputation:
I have SSRS reports which displays the execution time each time while running the report. I would like to display the timezone value next to it . How do i get that.
Thanks, Jaz
Upvotes: 2
Views: 2924
Reputation: 1278
To get the timezone on the server, use:
TimeZone.CurrentTimeZone.StandardName
TimeZone.CurrentTimeZone.GetUtcOffset(Now()).ToString()
Upvotes: 3