Timestamps methods refactoring