Compare with a datetime object is better...

fixes #399