Dotfiles.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
476 B

<html>
<head>
<script type="text/javascript">
<!--
function goToday(){
var currentDate = new Date()
var day = currentDate.getDate()
var month = currentDate.getMonth() + 1
var year = currentDate.getFullYear()
if (day < 10) {
day = '0' + day
}
if (month < 10) {
month = '0' + month
}
document.location.href = year + '-' + month + '-' + day + '.html';
}
//-->
</script>
</head>
<body onLoad="goToday()">
</body>
</html>