Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Latest commit

 

History

History
31 lines (18 loc) · 673 Bytes

bitburner.ns.tformat.md

File metadata and controls

31 lines (18 loc) · 673 Bytes

Home > bitburner > NS > tFormat

NS.tFormat() method

Format time to a readable string.

Signature:

tFormat(milliseconds: number, milliPrecision?: boolean): string;

Parameters

Parameter Type Description
milliseconds number Number of millisecond to format.
milliPrecision boolean (Optional) Format time with subsecond precision. Defaults to false.

Returns:

string

The formatted time.

Remarks

RAM cost: 0 GB