| Home | All functions | Categories |
vuSetFileDate(*CSTRING,LONG,LONG,LONG,LONG,LONG,LONG), Signed
Sets the date and time attributes of a specified file. Updates creation, last modified, and last accessed timestamps.
| Parameter | Data Type | Description |
|---|---|---|
| FileName | CSTRING(256) | Fully qualified path and filename of an existing file. |
| Year | LONG | Year to set. |
| Month | LONG | Month to set (112). |
| Day | LONG | Day of the month to set (131). |
| Hour | LONG | Hour to set (023). |
| Minute | LONG | Minute to set (059). |
| Second | LONG | Second to set (059). |
A LONG value:
FileName = 'C:\Valutilities\Test.bak'
! Sets creation, last write, and last access time to July 18, 2004, 4:00 PM
vuSetFileDate(FileName, 2004, 7, 18, 16, 0, 0)
Ch
| Home | All functions | Categories |