![]() |
JavaScript
I am trying to modify:
Code:
<script type="text/javascript">d = new Date();y = d.getFullYear();document.write(y);</script> I'm pretty sure the variables I need are: today.getMonth () and today.getDate() I just can't seem to get the syntax correct... |
You don't need <script type="text/javascript">, <script> is ok.
Code:
<script> Code:
<p id="datedemo"></p> |
All times are GMT. The time now is 11:20 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|