Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: "Should be a simple thing" not going well for me

by BrowserUk (Pope)
on Nov 02, 2011 at 21:48 UTC ( #935500=note: print w/replies, xml ) Need Help??

in reply to "Should be a simple thing" not going well for me

This is wrong:

use Date::Manip::Date; my $date = "2011-07-24T17:46:33Z"; ... my $err = $date->convert([$localzone]);

Before you can call methods, you first need to create an object:

my $date = new Date::Manip::Date;

Then you need to set the date & time value into that object using the appropriate method(s).

Then you need to invoke the convert method passing a timezone in one of the formats documented within the modules POD.

Try reading the POD.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://935500]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2016-10-26 23:47 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (350 votes). Check out past polls.