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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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();