You can include
Set Field[table::datefield, get(currentdate)]
in the script your button performs when it is clicked to store the current date. You'd need to define a date field and put a reference to it in place of "table::datefield" in the above expression. Other get functions can capture the current time or the current date and time also.
Thanks! and thanks for your response yesterday as well ur always a great help!