Performance optimizations when dealing with date fields

Sorry, Matt... I think this is the last one.