int SetFileDate (char fileName[], int month, int day, int year);
Sets the date of a file.
Input | ||
Name | Type | Description |
fileName | string | The pathname of the file for which to set the date. If you specify an empty string "", SetFileDate sets the date of the file found by the most recent call to GetFirstFile or GetNextFile. |
month | integer | The month component of the date. Values 1—January 2—February 3—March 4—April 5—May 6—June 7—July 8—August 9—September 10—October 11—November 12—December |
day | integer | The day component of the date. Values: 1 to 31 |
year | integer | The year component of the date. Values: 1980 to 2099 |
Name | Type | Description | ||||||||||||||
status | integer | The result of the call.
|