home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
setclock.zip
/
readme
next >
Wrap
Text File
|
1994-04-10
|
1KB
|
24 lines
This is an OS/2 2.x with IBM TCP/IP 2.0 set clock from network time
server utility. To set the local clock assign first an environment variable
TZ and then execute setclock.exe by entering 'setclock <timeserver>' where
timeserver is the host's name or IP number you want to receive the new time.
By default setclock.exe uses port 37 which is timeserver's port for time
queries but you can use other ports by specifying command line parameter
'-p <nn>' where <nn> is the port number. Also, the TZ environment variable
can be set by using the command line parameter '-t <timezone>' where
<timezone> is your local timezone string.
For example:
setclock timehost
set clock using host 'timehost' on your local domain and your current TZ
environment variable. Here we assume that TZ is already set and that you
have set and configured your nameserver.
setclock host.at.some.domain -p453 -tGMT-9DST
set clock using host 'host.at.some.domain', non-standard port # 435 and use
timezone 9 hours east from Greenwich. (Somewhere in Mongolia I guess). Also
here we're using the 'Daylight Save Time' i.e. 'summer time'.