Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/somefn/js/date.ts>getMonths

some functions for deno
Go to Latest
function getMonths
import { getMonths } from "https://deno.land/x/somefn@v0.27.0/js/date.ts";

获取月份

Parameters

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

Returns

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