Tuesday, March 15, 2011

How to get timezone value in SSRS

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

From stackoverflow
  • To get the timezone on the server, use:

    TimeZone.CurrentTimeZone.StandardName
    TimeZone.CurrentTimeZone.GetUtcOffset(Now()).ToString()
    
    PJ8 : Are you looking to display the server time zone? or the time zone of the person running the report?
  • 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

0 comments:

Post a Comment