📅  最后修改于: 2022-03-11 14:53:52.689000             🧑  作者: Mango
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$objDate = $objectManager->create('Magento\Framework\Stdlib\DateTime\DateTime');
$date = $objDate->gmtDate();