Franklin wrote:
Hello:

Hello,

My operating system is freebsd and its time is GMT time which I can't
change. How can I write a perl script to get the exact
time(Hour,minute,second) and change it to US ET?

All Unix systems (AFAIK) run on UTC (GMT for you old timers, Zulu Time for you military types) so you don't want to change it to something else. What you want to do is set your timezone file to the correct timezone. On my Linux system that file is /etc/timezone and the timezone data files are in the /usr/share/zoneinfo directory.



John -- use Perl; program fulfillment

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to