Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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.

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 exploiting the Monastery: (11)
As of 2016-06-29 13:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (380 votes). Check out past polls.