'Get the time this direct message was posted, in seconds since the epoch.
Returns:
The time this direct message was posted, in seconds since the epoch.'

def GetCreatedAtInSeconds(self):

    return calendar.timegm(rfc822.parsedate(self.created_at))
