TzShortName Property  
 

Gets an abbreviated time zone name for the current location.

Syntax

object.TzShortName

Remarks

This property returns a string which specifies the abbreviated time zone code in which the external IP address is located. If daylight savings time is used within the time zone, then this value can change based on whether or not daylight savings is in effect. For example, if the IP address is located within the Pacific time zone in the United States, this will return "PDT" when daylight savings is in effect and "PST" when it is not.

If the time zone code cannot be determined for this location, a value such as "UTC+9" may be returned, indicating the number of hours ahead or behind UTC.

Data Type

String

See Also

LocalTime Property, Timezone Property, TzOffset Property