added upper date limit support for gauge and datastore interfaces