You are here: irt.org | FAQ | JavaScript | Date | Q344 [ previous next ]
Try this:
<FORM NAME="formname"> <INPUT TYPE="HIDDEN" NAME="hiddenname"> </FORM> <SCRIPT LANGUAGE="JavaScript"><!-- var now = new Date(); document.formname.hiddenname.value = now; //--></SCRIPT>