Help for this page

Select Code to Download


  1. or download this
        my $oldDate = DateTime->new(month=>$monthVar,
                    day=>$dayVar,
    ...
        $dateObject =~ s/T/ /;
        print &UnixDate($dateObject,"%m/%d/%Y %H:%M")
    
  2. or download this
        $dateObject =  DateTime->now(time_zone=>'UTC');
        print $dateObject;