Changed the datatype of dates in attendance and employee to date from datetime this might bork things in other places