2018-11-11 10:43:17 +01:00

13 lines
322 B
TypeScript

export declare function UTC(
// NOTE: Using i32 below saves us a f64.convert_s instruction and moves the responsibility for
// converting the value to the WASM/JS boundary.
year: i32,
month: i32,
day: i32,
hour: i32,
minute: i32,
second: i32,
millisecond: f64
): f64;
export declare function now(): f64;