This sample inserts today's date into a Date field of your App with a click of a button.
To use this sample code, you will need a Date field and a Blank Space field in your kintone App.
A button will be displayed on the Blank Space field, when you create a new record or edit an existing record.
Make sure to match the Field code / Element ID of your fields, with the Field code / Element ID written in the code.
Refer to the Tutorial page, on how to add scripts to your app.