time (2)

Formats a date given a format style
export declare function time<S extends TimestampStylesString>(date: Date, style: S): `<t:${bigint}:${S}>`;
NameTypeOptionalDescription
dateDateNo
The date to format
styleSNo
The style to use