File Times
BlitzMax Forums/BlitzMax Programming/File Times
| ||
FileTime returns an integer representing when the file was last modified, but what does the integer mean? Is it seconds, days or what? Also, does anyone happen to have (cross platform) code for checking access and creation times or changing the time attributes of a file? |
| ||
Thanks, those are helpful. The second one shows an internal error, though. So, after Googling localtime it seems to be seconds from Jan 1st, 1970. Googling stat suggests that "ctime" is *not* creation time, though. Haven't found a way to change the times yet. |
| ||
You probably want to use "utime()". |