send2me
12-11-2003, 02:40 PM
I was give this script from this site. It is working great. The one problem I am having is that I want the number to be displayed on a image that I created. Is that posible? Also, Is there a way to change the font for the displayed number?
<html><body>
It has been
<script type="text/javascript">
var dt = new Date(2003,0,5); // 5th Jan 2003
var now = new Date();
var nDays = Math.floor((now.getTime() - dt.getTime()) / 86400000);
document.write(nDays);
</script>
days since last problem.
</body></html>
<html><body>
It has been
<script type="text/javascript">
var dt = new Date(2003,0,5); // 5th Jan 2003
var now = new Date();
var nDays = Math.floor((now.getTime() - dt.getTime()) / 86400000);
document.write(nDays);
</script>
days since last problem.
</body></html>