Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    $from = 'MST7MDT';
    $converted = &Date_ConvTZ($date,$from,$to);
    print "The conversion from [$from] resulted in [".&UnixDate($converted
    +,"%Y-%m-%d %H:%M:%S")."]\n";
    
  2. or download this
    The unconverted date is [2002-05-29 08:00:00]
    The conversion from [MDT] resulted in [2002-05-29 14:00:00]
    The conversion from [MST7MDT] resulted in [2002-05-29 08:00:00]