Simplify indexing date inputs