* appendTimestamp() utils function * Make appendTimestamp() to throw and error if timeOfDay is not a valid value