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

Here you will find out to use it and how to format date and times accordingly.

u need a JavaScript to do that. All u might do in php is passing the severtime to the getTime() function:

<script type="text/javascript"> var now = new Date(<?php echo time() ?>); ...

Sponsor our Newsletter | Privacy Policy | Terms of Service