time

declare function time(date?: Date): `<t:${bigint}>`;
declare function time(date?: Date): `<t:${bigint}>`;
Formats a date into a short date-time string.
NameTypeOptionalDescription
dateDateYes
The date to format. Defaults to the current time