convert time to influxdb's absolute time if custom date range used