logo       

Re: Help Adding event with Perl: msg#00178

Subject: Re: Help Adding event with Perl
Woodrow,

Thanks for your help! Got Net::Google::Calendar installed and added
my first event via PERL......well, almost.

I can't seem to get the time right. Any chance someone can see
what I'm doing wrong in the following:

I have the code below (and a similar $end_time):
    $start_time = DateTime->new(
         time_zone => 'America/New_York',
         year   => 2006,
         month  => 9,
         day    => 10,
         hour   => 12,
         minute => 30,
         second => 0,
                    );
.
.
.
    $entry->when($start_time, $end_time);
    my $tmp = $cal->add_entry($entry);


But when I go look at the event on my
calendar, the time is 4 hours earlier (8:30am,
not 12:30 as I would hope). I'm baffled?!

Again, any and all help is greatly
appreciated!




<Prev in Thread] Current Thread [Next in Thread>