Display log of past appointments

Hi,
I am beginner here. I am building appointment booking app. Need help in understanding how can I showcase list of past appointment for each single user.
Thanks in advance for help.

on data type of bookings needs a date field…on search need constraint to look filter based on that date field against the current date and time.

Alternatively can set up a field on booking that is status, and when the booking is completed change status to ‘past’ and then when search for bookings constrain by status field is ‘past’