DCSIMG
המידע שקיבלת במסגרת בלוג זה הינו מידע כללי בלבד ואין לראות ו\או להסתמך על מידע כאמור כייעוץ ו\או תחליף לייעוץ מכל סוג שהוא ו\או להסתמך עליו לעניין כלשהוא. September 2010 - Posts - Business Intelligence,Technology, Thoughts, Thinking
Sign in | Join | Help

September 2010 - Posts

Displaying Timezone along with Global.ExecutionTime

If we would like to display in our reporting services report the timezone along with Global.ExecutionTime,

then, these are the steps...

In report > properties add this function to the code section

Function GetOffset() As String

                Return TimeZone.CurrentTimeZone.GetUtcOffset(DateTime.Now).ToString()

End Function

Then in your report footer add a textbox where you want the value displayed and set the Value expression to:

=Code.GetOffset()