views:

477

answers:

2

Hi,

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

+2  A: 

To get the timezone on the server, use:

TimeZone.CurrentTimeZone.StandardName
TimeZone.CurrentTimeZone.GetUtcOffset(Now()).ToString()
PJ8
My server is in CET time. Is this function is the right one to use then?.
Are you looking to display the server time zone? or the time zone of the person running the report?
PJ8
A: 

How do display the time when the report was. This time should be displayed in the time zone of the person running the report. Any help would be appreaciated.

Thanks in Advance...

-- Datta