Search...

time

export declare function time(date?: Date): `<t:${bigint}>`;
export declare function time(date?: Date): `<t:${bigint}>`;
Formats a date into a short date-time string
NameTypeOptionalDescription
dateDateYesThe date to format, defaults to the current time