def hour12(self):
        """
        Return The hour value between `1-12`. use :py:meth:`khayyam.JalaliDatetime.ampm()` or
        :py:meth:`khayyam.JalaliDatetime.ampmascii()` to determine `ante meridiem` and or `post meridiem`

        :rtype: int
        """
        res = self.hour
        if res > 12:
            res -= 12
        elif res == 0:
            res = 12
        return res