Hostboard
12-27-2020, 01:22 PM
I am trying to modify:
<script type="text/javascript">d = new Date();y = d.getFullYear();document.write(y);</script>
To output: January 1, 2020
I'm pretty sure the variables I need are: today.getMonth () and today.getDate()
I just can't seem to get the syntax correct...
<script type="text/javascript">d = new Date();y = d.getFullYear();document.write(y);</script>
To output: January 1, 2020
I'm pretty sure the variables I need are: today.getMonth () and today.getDate()
I just can't seem to get the syntax correct...