Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Locationg celestial objects (using Astro::Coords, if need be)

by Mr. Muskrat (Abbot)
on Oct 25, 2012 at 19:21 UTC ( #1000920=note: print w/ replies, xml ) Need Help??


in reply to Locationg celestial objects (using Astro::Coords, if need be)

When you run the following do you see the correct local time? It sounds like you won't; in which case something is misconfigured in the OS.

perl -MTime::Piece -e 'my $l = localtime; print "local time is $l\n"'


Comment on Re: Locationg celestial objects (using Astro::Coords, if need be)
Download Code
Re^2: Locationg celestial objects (using Astro::Coords, if need be)
by schweini (Friar) on Oct 25, 2012 at 19:29 UTC
    Nope. The clock seem s to be ok:
    C:\Users\schweini\Dropbox\hacks>perl -MTime::Piece -e "my $l = localti +me; print qq|local time is $l\n|" local time is Thu Oct 25 13:29:00 2012
    (which obviously is my localtime right now)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2014-08-21 05:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls