how to convert current timezone date to gmtdate in magento 2?
In Magento store, it sets America/Toronto timezone how to convert current date time to gmt date time,here is my current date time code $currentTimeZoneTime = $this->timezone->date()->format(‘Y-m-d’); $gmtTime = ‘?’