public static function setDateAdded(\DataContainer $objDc)
    {
        if ($objDc === null || !$objDc->id || $objDc->activeRecord->dateAdded > 0) {
            return false;
        }

        \Database::getInstance()->prepare("UPDATE $objDc->table SET dateAdded=? WHERE id=? AND dateAdded = 0")->execute(time(), $objDc->id);
    }