TimeValue Function
TimeValue function