Join the Webstudio community

Updated 3 months ago

How do I make text that displays the current date and time in realtime?

At a glance

The community member is experiencing an issue where the "dataTime attritube is not set". The comments suggest that this issue can be addressed with JavaScript, and a specific GitHub issue (https://github.com/webstudio-is/webstudio/issues/3510) will address it. However, the solution will only work on page load and will not provide a clock-like update while the user is on the page.

Useful resources
Been trying to figure this out, just says "dataTime attritube is not set"
J
2 comments
Currently you need javascript. THis issue will address it https://github.com/webstudio-is/webstudio/issues/3510
At least itll address it on page load. It wont be like a clock though that updates while you're on the page
Add a reply
Sign up and join the conversation on Discord