Skip to content

Latest commit

 

History

History
76 lines (36 loc) · 822 Bytes

File metadata and controls

76 lines (36 loc) · 822 Bytes

Home > bitburner > Format > time

Format.time() method

Format time to a readable string.

Signature:

time(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