Skip to main content
Module

std/datetime/to_imf.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.177.1/datetime/to_imf.ts";

Functions

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.