Checking a files creation date??
I just started learning c++ a couple of weeks ago for a specific project so im not completely confident with it.
The program is currently being created in c++builder but will eventually be run in Linux. It allows the user to select a number of files (.txt files) from a dialog box, the file locations are then stored in an array and displayed in a listbox.
I need to check what date all the files (selected by the user) were created on. I was wondering if anyone could help me out with how to do this?
Re: Checking a files creation date??
>> will eventually be run in Linux.
$ man 2 stat (to get file status)
$ man 2 utime (to change file time)