Skip to main content
Module

x/denops_std/function/mod.ts>getftime

📚 Standard module for denops.vim
Go to Latest
function getftime
import { getftime } from "https://deno.land/x/denops_std@v3.7.0/function/mod.ts";

The result is a Number, which is the last modification time of the given file {fname}. The value is measured as seconds since 1st Jan 1970, and may be passed to strftime(). See also |localtime()| and |strftime()|. If the file {fname} can't be found -1 is returned. Can also be used as a |method|: GetFilename()->getftime()

Parameters

denops: Denops
fname: unknown

Returns

Promise<unknown>