mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-18 09:21:35 +00:00
Add initial Date bindings
Doesn't do much, yet, because we can't get the timezone with a plain binding, but it's at least something.
This commit is contained in:
10
std/assembly/bindings/Date.ts
Normal file
10
std/assembly/bindings/Date.ts
Normal file
@ -0,0 +1,10 @@
|
||||
export declare function UTC(
|
||||
year: i32,
|
||||
month: i32,
|
||||
day: i32,
|
||||
hour: i32,
|
||||
minute: i32,
|
||||
second: i32,
|
||||
millisecond: i32
|
||||
): f64;
|
||||
export declare function now(): f64;
|
Reference in New Issue
Block a user