How to add Timestamp from Hidden Field
I have created an Insert Record form using DA. There are four fields -- three text fields (e-Mail, First_Name and Last_Name) and a hidden field (reg_Date). All the corresponding columns in the db are not_null. When I run the form I get the error "Incorrect integer value: '' for column 'reg_Date' at row 1" -- this is (I presume) because there is no value currently assigned to the hidden reg_Date field. The Insert function obviously fails.
The reg_Date column is data-typed to int (I planned on using the Unix timestamp). What code do I place (presumably in the hidden reg_Date field) to pass the correct value to the Insert code??