Update time_val.hpp

Thanks for David Welton for spotting this.