文件操作 - to_imf.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/@netlify/node-cookies/dist/datetime/to_imf.d.ts
编辑文件内容
/** * Formats the given date to IMF date time format. (Reference: * https://tools.ietf.org/html/rfc7231#section-7.1.1.1). * IMF is the time format to use when generating times in HTTP * headers. The time being formatted must be in UTC for Format to * generate the correct format. * * @example * ```ts * import { toIMF } from "https://deno.land/std@$STD_VERSION/datetime/to_imf.ts"; * * toIMF(new Date(0)); // => returns "Thu, 01 Jan 1970 00:00:00 GMT" * ``` * @param date Date to parse * @return IMF date formatted string */ export declare function toIMF(date: Date): string;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件