| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 6012 | 2000-10-05 12:02:00 | html code for date | Guest (0) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 6600 | 2000-10-05 12:02:00 | what is the html code to show the date, changing each day, like at the top of the pc world main page? | Guest (0) | ||
| 6601 | 2001-05-09 02:29:00 | Leon, If you are still after the script to add the current date to a web page here it is. Paste the script below into you web page. <htmL> <script language='Javascript'> <!-- var today = new Date() var month = today.getMonth() + 1 var day = today.getDate() var year = today.getFullYear() var s = '/' document.write('Todays date: ' + day + s + month + s + year) //--> </script> |
Guest (0) | ||
| 1 | |||||