February 2013
Intermediate to advanced
538 pages
20h 55m
English
touch
bool touch(stringpath[, inttouch_time[, intaccess_time]])
Sets the modification date of path to
touch_time (a Unix timestamp value) and the
access time of path to
access_time. If not specified,
touch_time defaults to the current time,
while access_time defaults to
touch_time (or the current time if that
value is also not supplied). If the file does not exist, it is
created. Returns true if the
function completed without error and false if an error occurred.
Read now
Unlock full access