Add date parts

- added week and day functions
- updated readme and tests
- unit test added to check sql generated correctly