WooCommerce Order Date and Time

If you just starting to set up WooCommerce and are doing some testing you might notice that the dates and or order time your test orders where done are not correct. Perhaps they are several hours off, perhaps almost a whole day!

WooCommerce Order Date and Time

WooCommerce will show orders made based on the time you or a customer ordered combined witht the timezone set in WordPress under settings > general. When you set up WordPress it will default to UTC time or Universal Time Coordinated or the good old GMT.

WordPress Timezone

So if you want to change the WooCommerce order date and time  and post date and time to be correct and correctly indicated you need to adjust the timezone under settings > general in your Dashboard.

WooCommerce Order Date and Time

As soon as you have selected the correct timezone the time will be re-calculated based on the server time and timezone picked. The reason for picking UTC is explained by Otto in this WordPress support thread. Basically kept there for now and kept there in the past for PHP4 legacy reasons.


Featured Image: El Tiempo by Ignacio Sanz

Tagged in : Tagged in : ,
Jasper Frumau

Jasper has been working with web frameworks and applications such as Laravel, Magento and his favorite CMS WordPress including Roots Trellis and Sage for more than a decade. He helps customers with web design and online marketing. Services provided are web design, ecommerce, SEO, content marketing. When Jasper is not coding, marketing a website, reading about the web or dreaming the internet of things he plays with his son, travels or run a few blocks.