-
I noticed on the docs that the time APIs are all sdk-dependent. Is there a way to get date information within WASM via a built in that I missed? |
Beta Was this translation helpful? Give feedback.
Answered by
srenatus
Apr 3, 2023
Replies: 1 comment
-
No you have not. There is no generic way how any wasm module could figure out the current time (except for wasi maybe), so the time built-in needs to be SDK-provided. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
JAForbes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No you have not. There is no generic way how any wasm module could figure out the current time (except for wasi maybe), so the time built-in needs to be SDK-provided.