Check if there is 24 hours gone since a Woocommerce order is made
I call a Woocommerce method $order->get_date_created() that is returning this WC_DateTime object: object(WC_DateTime)#26619 (4) { ["utc_offset":protected]=> int(0) ["date"]=> string(26) "2019-09-06 14:28:17.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } How can I check if there is more (or less) than 24 hours…