HI Guys,
As the topic suggests I am trying to convert/display the timezone offset output in numeric values.
The code below grabs the correct timezone information, but displays it as its named value. The problem with that is that it does not comply with the RFC822 date-time standard in many regions. So I need to display this as a numeric value.
The code below is the current retrieval method. I have tried numerous attempts at using TimeZone.CurrentTimeZone.ToUniversalTime but that did not seem to work right as I need the output in string format so I could add this my xml textwriter. Current functions I am using correct my SQL DB date output to the correct standard excluding the timezone value. Here is the timezone function at present. So it is important that I do not change the methods to much.
Private Function GetTimeZone() As String
Dim str As New Text.StringBuilder
Dim tz() As String = TimeZone.Current ...
Go to the complete details ...