You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Date API is still preliminary and requires importing the `Date` object from the host \(as `Date`\).
9
+
The Date API is still preliminary with only a subset of properties and methods implemented. Note that getting the current date, via `Date.now`, requires importing the `Date` object from the host \(as `Date`\).
10
10
11
11
## Constructor
12
12
@@ -20,7 +20,7 @@ The Date API is still preliminary and requires importing the `Date` object from
20
20
*```ts
21
21
function now():i64
22
22
```
23
-
Returns the current UTC timestamp in milliseconds.
23
+
Returns the current UTC timestamp in milliseconds. To use this function you must import the `Date` object from the host \(as`Date`\).
24
24
25
25
*```ts
26
26
function UTC(
@@ -34,6 +34,11 @@ The Date API is still preliminary and requires importing the `Date` object from
0 commit comments