JS date
This commit is contained in:
parent
ac53f8cd67
commit
55647a6ff1
@ -5,5 +5,5 @@ print('This is a slow test. ' . date('Y-m-d H:i:s'));
|
|||||||
?>
|
?>
|
||||||
<p id="js-date"></p>
|
<p id="js-date"></p>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.getElementById('js-date').innerText(new Date().toISOString());
|
document.getElementById('js-date').innerText = new Date().toISOString();
|
||||||
</script>
|
</script>
|
Loading…
Reference in New Issue
Block a user