You can simply use ``times.to_unix(self.birth_date)`` instead of creating a new ``utctime`` function.