How to Display a Visitor’s Local Time in Webflow
Learn how to display your visitor’s local time in real time in Webflow with JavaScript and the Intl API.
In this tutorial, Sandro, co-founder of Gemeos Webflow agency, shows you how to display the visitor’s local time in real time in Webflow.
Example
1. Add the ID to your text
On your Text Block: custom attribute id = local-time.
2. Add the script in Footer code
Conclusion
Real-time local time creates a direct connection with the visitor. It’s ideal on contact pages to put your hours into context.
Lorem ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.















