Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_filestamp() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_FILESTAMP()

 DESCRIPTION

 The C_FILESTAMP() function allows the date and time of a specified
 file to be read and changed.

 NOTES

 C_FILESTAMP() always returns the current date and time for the
 file.  To set the file date and time, include the date and time
 parameters.

 SYNTAX

 C_FILESTAMP(file [,date] [,time] [,network])

 PARAMETERS

 file (C) is the full name of the file to get or set the date and time.

 date (D/C) is the date to set for the specified file.  The date can
 be specified as either a date variable or a character string
 ("01/01/90").  If date is not specified, it will not be set.  To
 set the file so that it has no date, pass the character string "00/00/00".

 time (C) is the time to set for the specified file as a character
 string in the 24 hour format "HH:MM" ("12:00").  If time is not
 specified, it will not be set.  To set the file so that it has no
 time, pass the character string "00:00".

 network (L) indicates whether or not the program is running on a
 network.  If the program is running on a network pass true (.T.) so
 the file can be opened with the proper share access, otherwise pass
 false (.F.).  If network is not specified, the default of false (.F.)
 is used.

 RETURNS

 C_FILESTAMP() returns the current date and time of the file as a
 character string, with each separated by a comma ("01/01/90, 12:00").

 EXAMPLES

 && Just get the date and time
 ? c_filestamp("FILE.TXT") --> 01/10/90, 10:00

 && This sets the date and time on the file to 03/01/90 and 09:45,
 && and returns the previous date and time
 ? c_filedate("FILE.TXT","03/01/90","09:45") --> 01/10/90, 10:00


See Also: C_FILEDATE() C_FILETIME() C_FINDFILE()

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