Αποτελέσματα Αναζήτησης
Free, customizable clock widget for your own web site. Want an exact clock on your own web site? Or today's date, sunrise time, sunset time or day length? Just choose from the options below and copy the code! It's free! Options
1 Ιουλ 2023 · Display real-time date and time on your website with our detailed step-by-step guide
1 ημέρα πριν · Easily add a free time widget using our HTML code. Customize your website clock for any city, country or time zone. Choose between analog, digital or simple text clocks!
var date = new Date(); const elementDate = document.getElementById("printDate"); const elementDay = document.getElementById("printDay"); const elementTime = document.getElementById("printTime"); const listOfDays = [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ]; function printDate() { var day = date.getDate ...
Any time zone—All the major time zones are supported. Highly configurable—Choose colors, borders, fonts and what the clock should display. Multiple languages—Many languages are supported. No registration needed—The HTML code is available immediately. You may place up to six clocks on a single page.
const displayTime = document.querySelector(".display-time"); // Time function showTime() { let time = new Date(); displayTime.innerText = time.toLocaleTimeString("en-US", { hour12: false }); setTimeout(showTime, 1000); } showTime(); // Date function updateDate() { let today = new Date(); // return number let dayName = today.getDay(), dayNum ...
Paste code onto your homepage or blog. Here you can build your own HTML-based clock widget in just a few clicks, paste it into your webpage or blog and display time and date of the selected time zone or location. The clock is based on HTML and JavaScript and the service is entirely free of charge.