Skip to main content
Module

x/somefn/js/date.ts>getMonths

some functions for deno and browser
Latest
function getMonths
import { getMonths } from "https://deno.land/x/somefn@v0.1.1-jsr/js/date.ts";

获取月份

Parameters

startAt: UnixTimestamp
optional
opt: { timezone?: string; } = [UNSUPPORTED]

Returns

{ months: string[]; before?: [UnixTimestamp, UnixTimestamp]; after?: [UnixTimestamp, UnixTimestamp]; }