File modification time
var file = File(__FILE__)
say file.stat.mtime # seconds since the epoch
# keep atime unchanged
# set mtime to current time
file.utime(file.stat.atime, Time.now)
var file = File(__FILE__)
say file.stat.mtime # seconds since the epoch
# keep atime unchanged
# set mtime to current time
file.utime(file.stat.atime, Time.now)