User:Feminist/afdclock.js

function pad(n) { if (n < 10) { var s = "0" + n;		return s;	} return n; }

if ((window.location.href).indexOf("Wikipedia:Articles_for_deletion") > -1) { $("#p-personal ul").append(''); setInterval(function {		var date = new Date;   	$('#autotime').text(date.getUTCFullYear + "-" + pad(date.getUTCMonth + 1) + "-" + pad(date.getUTCDate) + " " + date.getUTCHours + ":" + pad(date.getUTCMinutes) + ":" + pad(date.getUTCSeconds));	}, 1000); }