DateTime::TimeZone::Local::Win32 man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

DateTime::TimeZone::LoUser:Contributed PerlDateTime::TimeZone::Local::Win32(3)

       DateTime::TimeZone::Local::Win32 - Determine the local system's time
       zone on Windows

	 my $tz = DateTime::TimeZone->new( name => 'local' );

	 my $tz = DateTime::TimeZone::Local->TimeZone();

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

       This class tries the following methods of determining the local time

       ·   $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

	   ·	   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
		   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/"

       Dave Rolsky, <>

       Copyright (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.

perl v5.10.1			  2013-11-2DateTime::TimeZone::Local::Win32(3)

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net