mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 15:12:27 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
663 B
663 B
Home > bitburner > NS > tFormat
NS.tFormat() method
Format time to readable string
Signature:
tFormat(milliseconds: number, milliPrecision?: boolean): string;
Parameters
Parameter | Type | Description |
---|---|---|
milliseconds | number | Number of millisecond to format. |
milliPrecision | boolean | Format time with subsecond precision, defaults to false. |
Returns:
string
The formatted time.
Remarks
RAM cost: 0 GB