Get the value of a sensor at a specific time