Dim tzInfo As Infragistics.Win.TimeZoneInfo = DirectCast(ultraTimeZoneEditor1.SelectedItem.DataValue, Infragistics.Win.TimeZoneInfo)
Console.WriteLine("The time zone selected is: {0}", tzInfo.DisplayName)
'Get the local Time Zone
'Infragistics.Win.TimeZoneInfo tzInfo = Infragistics.Win.TimeZoneInfo.CurrentTimeZone
' Display the names for standard time and daylight saving time for the local time zone.
Console.WriteLine("Daylight saving time name: {0}", tzInfo.DaylightName)
Console.WriteLine("Standard time name: {0}", tzInfo.StandardName)
Console.WriteLine("The time zone selected's offset from Coordinated Universal Time(UTC) is: {0}", tzInfo.UtcOffset.ToString())
Console.WriteLine("The Daylight savings Time Begins on:{0}", tzInfo.DaylightDate.ToLongDateString())
Console.WriteLine("Standard time begins on: {0} " & tzInfo.StandardDate.ToLongDateString())