Erm,can anyone give me a code give me a php code for displaying current time that is dynamic, i mean, the seconds or the time itself is moving because i can only display time that is static and would only update if i refresh it…
Anything for time you will want to look into
date() function which can be found at http://www.php.net/date
Here you will find out to use it and how to format date and times accordingly.
var now = new Date(<?php echo time() ?>);