Re: how to get and convert time

2004-09-17 Thread Franklin
Thank you very much. The problem is: My perl program will run on a hosting virtual server and the system admin won't allow me to do so. So I must write a perl script to get the computer's GMT time and convert it to US ET.:( On Fri, 17 Sep 2004 08:28:33 -0400, Bob Showalter <[EMAIL PROTECTED]> wro

RE: how to get and convert time

2004-09-17 Thread Bob Showalter
Franklin wrote: > 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? As John said, the internal clock is always UTC. On FreeBSD, you use the tzsetup(8) program to

Re: how to get and convert time

2004-09-17 Thread John W. Krahn
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)