Add indexing to date