<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def purchase_time(self):
 """Date and time of app purchase. :rtype: datetime """

        ts = self._iface.get_purchase_time(self.app_id)
        return datetime.utcfromtimestamp(ts)