fs.utimes(path, atime, mtime, callback)
Change file timestamps of the file referenced by the supplied path.
Note: the arguments atime
and mtime
of the following related functions does follow the below rules:
- If the value is a numberable string like
'123456789'
, the value would get converted to corresponding number. - If the value is
NaN
orInfinity
, the value would get converted toDate.now()
.
Please login to continue.