Ref: 03050015
Title: How to Reset a 3+Open Server's Date and Time
Date:  12/13/90

Copyright 3Com Corporation, 1991.  All rights reserved.

It is sometimes necessary to reset a 3+Open server's internal date and
time; if, for example, the time on a user's workstation gets reset to that
of the 3+Name server.

Resetting the date and time can easily be performed on a PC server.  To
change the PC server's date and time, go to the server's keyboard and type
the OS/2 DATE and TIME commands on an OS/2 command-line prompt.

To set the date and time for servers without keyboards, you still use
the DATE and TIME commands, but you must get the server to execute the
commands rather than your local Enhanced DOS or OS/2 workstation.  To
do this, use the "NET ADMIN \\server-name /C ..." syntax.

The command syntax "NET ADMIN \\server-name /C ..." opens a connection
with the specified 3+Open server, and sends any command following the
/C switch to the server to be executed, using its own processor,
instead of executing within the workstation's processor and memory.  If
no command follows the /C switch, an interactive console connection
will be opened up, allowing commands to be typed in and executed on the
server until Ctrl-Z is entered on a line by itself.

So, to reset the server's date and time, simply type "DATE xx/xx/9x" or
"TIME xx:xx:xx" following the /C switch or during an interactive
connection:

         NET ADMIN \\server-name /C DATE xx/xx/xx
         NET ADMIN \\server-name /C TIME xx:xx:xx

or:      NET ADMIN \\server-name /C
         DATE xx/xx/xx
         TIME xx:xx:xx
         ^Z

For example, the following command will reset the date on a server
named \\SMITH to December 25, 1991:

         NET ADMIN \\SMITH /C DATE 12/25/91

Similarly, the following command will reset server \\JONES's time to
3:54 PM:

         NET ADMIN \\JONES /C TIME 15:54


Note:  Do NOT enter DATE and TIME without any parameters.  On a PC server,
you would be prompted for the date or time, but prompts cannot be
communicated through the "NET ADMIN ... /C" connection.

