Clock Demo Info

Tip: drag this floating card to move around. Your position is saved locally.

This page updates the time every second using LiveView’s handle_info/2 callback. When the client connects, the server starts a repeating timer that sends a :tick message once per second. Each tick updates the @now assign, and LiveView automatically patches only the time element in the DOM, giving you real‑time updates with no client‑side JavaScript.
🚚 Back to Home

🕒 18:36:32

This is the UK time (Oct end - March end)