I want to upgrade hrms,how can i upgrade'

my friend code and my code are same but not working in me, below my code…

bb = frappe.db.get_list(‘Attendance’,fields = {‘employee’,‘attendance_date’},filters = {‘employee’:self.employee,‘attendance_date’:date}),

in above code only in filter attendance_date: ‘date’ not working, because of this whole code not working,