Skip to main content
promises.FileHandle.utimes - fs - Node documentation
method promises.FileHandle.utimes

Usage in Deno

import { type promises } from "node:fs";
FileHandle.utimes(
atime: TimeLike,
mtime: TimeLike,
): Promise<void>

Change the file system timestamps of the object referenced by the FileHandle then fulfills the promise with no arguments upon success.

Parameters

atime: TimeLike
mtime: TimeLike

Return Type

Promise<void>