Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function getBeginningOfMonth
import { getBeginningOfMonth } from "https://deno.land/x/somefn@v0.27.0/js/date.ts";

获取月初时间

Parameters

支持 Date 和 202101... 这样的字符串

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

Returns

月初时间的毫秒时间戳