Added hours helper to periods