The answer depends on your DB. It could well be that ADO is expecting a date/time - value to be inserted.<BR>The Date object in JScript in NOT of that type.<BR>You could try converting the Date manually to a string that is acceptable to ADO.<BR>(Date: mm/dd/yyyy <--> DateTime: yyyy-mm-dd)<BR><BR>Hope this helps.<BR>B.
Good advice. You want to create the Date object and use it's methods to build a date string. Also specify that you want to change the field object's value property.<BR><BR>var d = new Date();<BR>RecordSet("Date").value = (d.getMonth() + 1) + "/" + d.getDate() + "/" + d.getYear(); <BR><BR>