Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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.

Comment on Re: "Should be a simple thing" not going well for me
Select or Download Code

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 wandering the Monastery: (4)
As of 2015-11-26 23:16 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (709 votes), past polls