Function for returning a value for a given timestamp
Function for returning a values array for a given timestamp
See Implementation