http://www.perlmonks.org?node_id=1000920


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"'

Replies are listed 'Best First'.
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)