Put datestring_index helper into useable form