Skip to main content
promises.FileHandle.utimes - node__fs.d.ts - Node documentation
method promises.FileHandle.utimes

Usage in Deno

```typescript import { type promises } from "node:node__fs.d.ts"; ```
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>