Working with dates and times - Changes needed in database.py