| **Navigation:**  [[advanced topics 1.htm|Advanced Topics]] > Clarion Language Utilities >====== GetFileTime (Get the file time) ====== | [[getfiledate get the file date .htm|{{btn_prev_n.gif|Previous page}}]][[advanced topics 1.htm|{{btn_home_n.gif|Return to chapter overview}}]][[getreg get windows registry entry .htm|{{btn_next_n.gif|Next page}}]] | | || **GETFILETIME( **//filename //**//)//** {{blk2blue.jpg|blk2blue.jpg}} | **GETFILETIME** | Returns the time stamp of a file | | //filename// | A string constant or variable containing the name of the file (and path, if applicable) | **GETFILETIME** returns the time stamp of the file specified by the //filename// parameter. The time is returned as a LONG that is deformatted and returned in an @T4 picture format. If the file is invalid or does not exist, **GETFILETIME** returns a zero (0). To add support for this utility to your existing applications, you need only include the CWUTIL.INC file in the Global Map section of your program: **INCLUDE('CWUTIL.INC'),ONCE** **Return Data Type:     **LONG **Example:** **Filetime = GETFILETIME(LOC:Filename)**