Get todays date on button click

When i have a list of things in my database (text, numbers, option sets, dates) and i want to get the todays date by clicking a button and update this in my list how do i get this?

Format date in database and on the click button, put
date = current date. (and you can choose what from the date you keep )