I'm getting the following result
`Sat Jul 17 2021 21:44:12 GMT-0700 (Pacific Daylight Time)`

what I want is
`21:44:12 Sat Jul 17 2021` 

```js
jQuery(document).ready(function() {
    var foo = jQuery('#foo');

    function updateTime() {
        var now = new Date();
        foo.val(now.toString());        
    }

    updateTime();
    setInterval(updateTime, 1000); // 5 * 1000 miliseconds
});
```

```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<input id="foo" name="foo" type="text" value="" size="55" />
```