xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

SetFDaTi()

Sets the last change date and time of a file.

Syntax

SetFDaTi( <cFileName> , ;
         [<dFileDate>], ;
         [<cFileTime>]  ) --> lSuccess

Arguments

<cFileName>
This is a character string holding the name of the file to set date and time for. It must include path and file extension. If the path is omitted from <cFileName>, the file is searched in the current directory only.
<dFileDate>
This is the date value to be set. It defaults to the return value of Date().
<cFileTime>
This is a time formatted string that defines the new file time. It defaults to Time().

Return

The function returns .T. (true) if the file date and time is set, otherwise .F. (false) is returned.

Info

See also:FileDate(), FileSeek(), FileTime()
Category: CT:DiskUtil , File functions , Low level file functions
Source:ct\files.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe