Your app has forms for creating and updating records and you want to track when records are created and updated.
Add a Field to Store Date and Time
In the Data section of the builder, select the object where you want to track the creation update times.
Add a new "Date/Time" field using the field menu; we’ll call this “First Created”.
Click on the "More Settings" to format the field.
Notice this date field has a default of "Current Date".
The default value is used in two ways:
Any form inputs will default to this value for forms that are adding new records.
When a new record is created, this default value will be used if a value is not provided.
This means that when a new record is created, the value for this field will default to the current date. This only works if you don't include this field as an input in your forms. Since the default only works for new records, this value will always store the date the record was created.
If you also want to track the time, select a time format, then select "Current Time" as the default option.
Now add a second field called "Last Updated", also selecting the Date/Time field type and formatting options like above.
Add a record rule to set the Last Updated time
Thanks to the default values, the "First Created" field will always be set on its own whenever a new record is added. Since the default is only applied on creation, however, we need to add a record rule in any form that allows a record to be edited.
In your Pages builder, select any page that contains a form used to "edit" your record.
Edit the form by clicking on it, then access the "Form Rules" using the left panel. Access the “Record Rules” tab at the top and add a new rule by clicking the “add rule” button.
The record rule should have the following properties:
Action: Update this record
When: every form submission (do not add any criteria)
Values: set "Last Updated" to the current date (this will also apply the current time, if enabled)
This rule will update the "Last Updated" value to the current date every time the form is submitted, so it will always store the last date the record was updated.
Make sure to repeat these steps and add record rules to any other "edit" forms where you want to track the date the records are updated.
It is also important to note that this is currently not available for "inline edits."