You are here: irt.org | FAQ | JavaScript | Date | Q571 [ previous next ]
Try:
<form name="formname"> <input type="hidden" name="fieldname"> </form> <script language="JavaScript"><!-- document.formname.fieldname.value = new Date(); //--></script>
©2018 Martin Webb