get today date magento 2 object manager

Solutions on MaxInterview for get today date magento 2 object manager by the best coders in the world

showing results for - "get today date magento 2 object manager"
Anna
15 Nov 2018
1$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
2$objDate = $objectManager->create('Magento\Framework\Stdlib\DateTime\DateTime');
3$date = $objDate->gmtDate();