Skip to main content
Module

x/create_react_app/deps.ts>datetime

Create React App with Deno
Latest
namespace datetime
import { datetime } from "https://deno.land/x/create_react_app@v0.1.2/deps.ts";

Functions

Get number of the day in the year

Calculate difference between two dates.

Format date using format string

Parse date from string using format string

Parse a date to return a IMF formated string date RFC: 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.

Get number of the week in the year (ISO-8601)