Refactoring du helper timsetamp