™.. DateTime::TimeZone::Local::Win32 - Online Linux Manual PageSection : 3
Updated : 2017-03-21
Source : perl v5.10.1
Note : User Contributed Perl Documentation

NAMEDateTime::TimeZone::Local::Win32 − Determine the local system's time zone on Windows

SYNOPSIS​ my $tz = DateTime::TimeZone−>new( name => 'local' ); ​ ​ my $tz = DateTime::TimeZone::Local−>TimeZone();

DESCRIPTIONThis module provides methods for determining the local time zone on a Windows platform.

HOW THE TIME ZONE IS DETERMINEDThis class tries the following methods of determining the local time zone: • $ENV{TZ} It checks $ENV{TZ} for a valid time zone name. • Windows Registry When using the registry, we look for the Windows time zone and use a mapping to translate this to an Olson time zone name. • Windows Vista and 2008 We look in SYSTEM/CurrentControlSet/Control/TimeZoneInformation/ for a node named /TimeZoneKeyName. If this exists, we use this key to look up the Olson time zone name in our mapping. • Windows NT, Windows 2000, Windows XP, Windows 2003 Server We look in SOFTWARE/Microsoft/Windows NT/CurrentVersion/Time Zones/ and loop through all of its sub keys. For each sub key, we compare the value of the key with /Std appended to the end to the value of ​SYSTEM/CurrentControlSet/Control/TimeZoneInformation/StandardName. This gives us the English name of the Windows time zone, which we use to look up the Olson time zone name. • Windows 95, Windows 98, Windows Millenium Edition The algorithm is the same as for NT, but we loop through the sub keys of SOFTWARE/Microsoft/Windows/CurrentVersion/Time Zones/

AUTHORDave Rolsky, <autarch@urth.org>

COPYRIGHT & LICENSECopyright (c) 2003−2008 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module.
0
Johanes Gumabo
Data Size   :   6,998 byte
man-DateTime::TimeZone::Local::Win32.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 202,004
Visitor ID   :     :  
Visitor IP   :   18.223.241.235   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|DateTime::TimeZone::Local::Win32.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|DateTime::TimeZone::Local::Win32.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|DateTime::TimeZone::Local::Win32.3pm|41|br══─}─══|'br══─}─══ )         (htmlprn|149|DateTime::TimeZone::Local::Win32.3pm|41|'br══─}─══ |'br══─}─══ )         (rof_nr_x|149|DateTime::TimeZone::Local::Win32.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (rof_unit_scale_px|41|DateTime::TimeZone::Local::Win32.3pm|51/52|F|.ie \nF ══─{─══. de IX )         (rof_if|19|DateTime::TimeZone::Local::Win32.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (htmlprn|149|DateTime::TimeZone::Local::Win32.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX )         (rof_escape_sequence|91|DateTime::TimeZone::Local::Win32.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2" )         (parse_manual_page_|249|DateTime::TimeZone::Local::Win32.3pm|57|══─}─══|.══─}─══ )         (htmlprn|149|DateTime::TimeZone::Local::Win32.3pm|57|.══─}─══ |.══─}─══ )