This is a crate which enables you to get an unix timestamp in miniquad/macroquad while running in a WASM environment. In any other envoirment it will fallback to chrono to aquire a timestamp.
Add this to your Cargo.toml
dependencies:
text
quad-timestamp = "0.1.0"
Add file js/quad-timestamp.js
to your project.
Add this line after loading of gl.js
and before loading of your wasm in your index.html
:
```html
```