locked
Want to display time zone in a label RRS feed

  • Question

  • User-328410427 posted
    Hi,
      I want to display time zone (eg EST, GMT) in an ASP.net page. Can anyone help me doing this?
    Thnaks in advance!
    Thursday, July 21, 2005 8:33 AM

All replies

  • User-837620913 posted
    Module Module1

        Sub Main()
            ' Get the local time zone and the current local time and year.
            Dim localZone As TimeZone = TimeZone.CurrentTimeZone
            Console.WriteLine(localZone.StandardName)
        End Sub

    End Module


    Thursday, July 21, 2005 10:19 AM
  • User-328410427 posted
    Thanks Darrell! It works fine!
    Friday, July 22, 2005 12:31 AM