san
san

Reputation:

How to get timezone value in SSRS

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

Answers (1)

PJ8
PJ8

Reputation: 1278

To get the timezone on the server, use:

TimeZone.CurrentTimeZone.StandardName
TimeZone.CurrentTimeZone.GetUtcOffset(Now()).ToString()

Upvotes: 3

Related Questions