adds getter and setters for an existing attribute to covnert between seconds, minutes, hours, and days