Date filters

Opening this to open discussion. Not yet ready for a merge. 

I think I've got a testing strategy involving milliseconds. 

Also includes #198.