0

im using Magento\Checkout\Model\Session to get the current quote on the cart.

$quote = $this->checkoutSession->getQuote();
$updated_at = $quote->getUpdatedAt();

my problem is the update_at date being retrieved is

2021-07-21 06:47:58

instead of

2021-07-21 14:47:58 (which is the value in the database)

im not sure where the 06:47:58 came from.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.