This Droplet inserts a small javascript to display the current time (updating).
$html = '<span id="timetick"></span>';
$script = '<script>';
$script .= 'function clock(){';
$script .= 'if (!document.all&&!document.getElementById) return;';
$script .= 'clockloc=document.getElementById? document.getElementById("timetick"): document.all.timetick;';
$script .= 'var now=new Date();';
$script .= 'var hours=now.getHours();';
$script .= 'var minutes=now.getMinutes();';
$script .= 'var seconds=now.getSeconds();';
$script .= 'if (minutes<=9) minutes="0"+minutes;';
$script .= 'if (seconds<=9) seconds="0"+seconds;';
$script .= 'var ctime=hours+":"+minutes+":"+seconds;';
$script .= 'clockloc.innerHTML=ctime;';
$script .= 'setTimeout("clock()",1000);';
$script .= '};';
$script .= 'clock();';
$script .= '</script>';
return $html.$script;