@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
11 lines (10 loc) • 388 B
TypeScript
/**
* Retrieve a string in the form of "YYYY-MM-DD-HH-MM-SS-MS" from a Date object.
*
* @param date - The date to convert, defaults to the current date
*/
export declare function date2string(date?: Date): string;
/**
* Print a number of milliseconds in a human-readable format including correct spacing.
*/
export declare function printAsMs(ms: number, precision?: number): string;