def smc_time(self): """ Return the SMC time as datetime object in UTC :rtype datetime """ return millis_to_utc( int(self.make_request(resource='smc_time').get('value')))
def end_time(self): """ Task end time in UTC datetime format :rtype: datetime """ end_time = self.data.get("end_time") if end_time: return millis_to_utc(end_time)
def start_time(self): """ Task start time in UTC datetime format :rtype: datetime """ start_time = self.data.get("start_time") if start_time: return millis_to_utc(start_time)
def smc_time(self): """ Return the SMC time as datetime object in UTC :rtype datetime """ return millis_to_utc( int(self.make_request( resource='smc_time').get('value')))