Code

- optimisation for date: if the database provides us with a datetime