vremel
Version:
JavaScript date utility library for Temporal API
8 lines • 419 B
TypeScript
import type { Temporal } from "../types.js";
/**
* Returns the start of a month for the given datetime
* @param dt datetime object which includes date info
* @returns Temporal object which represents the start of a month
*/
export declare function startOfMonth<DateTime extends Temporal.PlainDate | Temporal.PlainDateTime | Temporal.ZonedDateTime>(dt: DateTime): DateTime;
//# sourceMappingURL=startOfMonth.d.ts.map