code: def daily_hours(self,local=False):
          
          data = self.get(local)
          daily_hours = (data.hour +
                         data.minute / 60.0 +
                         data.second / 3600.0)
          return round(daily_hours,2)
docs: This returns a number from 0 to 24 that describes the number
              of hours passed in a day. This is very useful for hr.attendances