Magento Expert Forum - Improve your Magento experience

Results 1 to 2 of 2

How to Get Current Store Date and Time in Magento 2

  1. #1
    Junior Member
    Join Date
    Aug 2022
    Thanked 0 Times in 0 Posts

    Default How to Get Current Store Date and Time in Magento 2

    Engineers frequently need to work with date and time in Magento 2. Each store makes some exceptional memories. Subsequently, it is fundamental for know how the time region functions for Magento 2 stores.

    For instance, in the event that your store conveys the item solely after a particular time, you expect to get current store date and time in Magento 2 and plan the item conveyance plan as per the time.

    At the point when you save a date in the Magento 2 data set, it gets put away in the default time region. Be that as it may, while computing the conveyance time for the above situation, you really want to change it over completely to the default time region of the framework to satisfy the necessity of contingent shipment like "the shipment should be finished after 3 am as it were".

    While making a store, you need to design Magento 2 stores and times zones and to fill the need of time transformation because of the time region contrasts. I've thought of the answer for get the current store date and time in Magento 2.

    For more information, visit :

    View more threads in the same category:

  2. #2
    Junior Member
    Join Date
    Sep 2018
    Oman, Muscat
    Thanked 2 Times in 2 Posts


    In this instructional exercise, Today I will make sense of for how to get current GMT Date Time in Magento 2. To get Current GMT Date Time Magento give class.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts