getindex works on single date value