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

Usage in Deno

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