3
You can use something like this in your theme
<script language="javascript">
// Set vars date, hour, minutes
var currentTime = new Date()
var hours = currentTime.getHours()
var minutes = currentTime.getMinutes()
// if less than 10 add a preceeding zero to the minute
if (minutes < 10)
minutes = "0" + minutes
// print the time
document.write("The time is now : " + hours + ":" + minutes + " ");
script>
Ups didnt see Ghias link. His example is better :)