Add date transcoding
Add example for SelectFunc

fixes #6