If you're getting the wrong time out, that's because your time-zone is set incorrectly. Check the output of your 'date' command, or if you're using something that uses these things they call "Control Panels", check there.use POSIX 'strftime'; my $time = strftime("%r", localtime()); print $time,"\n";
In reply to Re: localtime $time
by tadman
in thread Getting "A.M." and "P.M." with localtime $time
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |