Function getCurrentValueForTimeline