cody - HTMLify profile

cody
4270 Files
632111 Views
Latest files of /cody/ajay9368/clock
function updateTimeAndDate() {
const now = new Date();
let hours = now.getHours();
const minutes = now.getMinutes().toString().padStart(2, '0');
let amPm = hours >= 12 ? 'PM' : 'AM';
if (hours > 12) {
hours -= 12;
} else if (hours === 0) {
const now = new Date();
let hours = now.getHours();
const minutes = now.getMinutes().toString().padStart(2, '0');
let amPm = hours >= 12 ? 'PM' : 'AM';
if (hours > 12) {
hours -= 12;
} else if (hours === 0) {
/* author: https://codepen.io/RAFA3L/pen/PoVYoPN
Rafa
*/
@import url('https://fonts.cdnfonts.com/css/lcd');
*{
box-sizing: border-box;
}
html, body {
Rafa
*/
@import url('https://fonts.cdnfonts.com/css/lcd');
*{
box-sizing: border-box;
}
html, body {