Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2015-07-02 04:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (27 votes), past polls