Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> systime</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SYSTIME
------------------------------------------------------------------------------
 Purpose:
 To emulate the NetWare SYSTIME.EXE command line utility that sets the
 workstation's date and time to that of the default file server's.

 Syntax:
 SYSTIME

 Parameters:
 None.

 Returns:
 None.

 Description:
 SYSTIME emulates NetWare's SYSTIME.EXE commind line utility which sets
 both the workstation's CMOS date and time as well as the DOS date and time
 to the default file server's system date and time.

 Example:
 // To set the workstation's date and time to the file server's:

 ? "Current Workstation Date and Time is ",Date(),Time()
 ? "Current Fileserver Date and Time is ",FSDteSet(),FSTmeSet()
 SYSTIME
 if( NWErrorGet() == 0 )
    ? "Current Workstation Date and Time is ",Date(),Time()
    ? "Current Fileserver Date and Time is ",FSDteSet(),FSTmeSet()
 else
    ? "Error ",NWErrorGet()," has occurred."
 Endif

See Also: FSWSSynchronize() FSDateGet() / FSDateSet() FSTimeGet() / FSTimeSet()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson