These fonts are licensed under the Open Font License. You can use them in your products & projects – print or digital, commercial or otherwise. This isn't legal advice, please consider consulting a lawyer and see the full license for all details.
<script>
function updateTime() {
const now = new Date();
const hours = now.getHours().toString().padStart(2, '0');
const minutes = now.getMinutes().toString().padStart(2, '0');
// Get GMT offset in hours
const timezoneOffset = -now.getTimezoneOffset() / 60;
const gmt = timezoneOffset >= 0 ? `GMT+${timezoneOffset}` : `GMT${timezoneOffset}`;
document.getElementById('local-time').innerText = `${hours}:${minutes} ${gmt}`;
}
// Update every minute
setInterval(updateTime, 60000);
// Initial call
updateTime();
</script>