DOSSetDateAndTime

Sets the modification date and time for a file on the DOS partition

Local Servers:blocking
Remote Servers:N/A
NetWare Server:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM
Service:DOS Partition

Syntax

  #include <nwdos.h>  
   
  int DOSSetDateAndTime  (  
     int    handle,   
     LONG   date,   
     LONG   time);
  

Parameters

handle
(IN) Specifies the file that is to be manipulated (returned from DOSOpen).
date
(IN) Specifies the DOS date to be set.
time
(IN) Specifies the DOS time to be set.

Return Values

Returns 0 for success or DOS errors for failure.

Remarks

DOSSetDateAndTime sets the last modified date and time on a DOS file. The value for the handle parameter is obtained through a call to DOSOpen.

See Also

DOSFindFirstFile, DOSOpen, utime (Multiple and Inter-File Services)