touch command on Unix-like systems does.
~ (tilde)
character optionally followed by a username, it is replaced by the
current or specified user's home directory.
yyyy-mm-dd.
On Windows yyyy must be greater than or equal to
1800.
hh:mm:ss (24-hour format).
File methods
lastModified (Attribute) and
lastModified (Attribute), and
Rexxutil SysGetFileDateTime.
call SysSetFileDateTime "." -- touch current directory
call SysSetFileDateTime "main.c", , "05:00:00" -- change file time only