import datetime
mass = [{'id': 4, 'date': datetime.datetime(2023, 5, 20, 10, 10, 32), 'name': 'alex', 'surname': 'genry'}]
mass = mass[0]
id = mass['id']
date = mass['date']
name = mass['name']
surname = mass['surname']
print(f'ID: {id}\nDate: {date}\nName: {name}\nSurname: {surname}')