public static function toDateString(Date $adManagerDate)
    {
        return sprintf(
            '%d-%02d-%02d',
            $adManagerDate->getYear(),
            $adManagerDate->getMonth(),
            $adManagerDate->getDay()
        );
    }