function time

export declare function time(date?: Date): `<t:${bigint}>`;

Formats a date into a short date-time string.

Parameters

optional
date?: Date
The date to format. Defaults to the current time