NWSetFileServerDateAndTime(3nw)


NWSetFileServerDateAndTime -- sets date and time of NetWare server

Synopsis

   #include <nwserver.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWSetFileServerDateAndTime (NWCONN_HANDLE conn, nuint8 year, nuint8 month, nuint8 day, nuint8 hour, nuint8 minute, nuint8 second);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

year
(IN) Specifies the value corresponding to the year.

month
(IN) Specifies the month value (1=January; 12=December).

day
(IN) Specifies the day value (1-31).

hour
(IN) Specifies the hour value (0=midnight; 23=11 p.m.).

minute
(IN) Specifies the minute value (0-59).

second
(IN) Specifies the second value (0-59).

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x89C6
NO_CONSOLE_PRIVILEGES

Notices

To call NWSetFileServerDateAndTime, you must have console operator rights.

year contains a value from 0 to 99. Values from 80 to 99 correspond to the years 1980 to 1999, while values from 0 to 79 correspond to the years 2000 through 2079.

Services

File Server Environment

NCP calls

0x2222 23 202 Set File Server Date And Time

 
 0x2222   23   202   Set File Server Date And Time 

30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.