Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2018-05-23 01:56 GMT
Find Nodes?
    Voting Booth?