how automatically update the time in PHP using Ajax..the below command work by refreshing the page by hit f5 or reload button..

```
echo date('s');

```

or if it is necessary to update time by only using AJAX in php..