Automattic\WooCommerce\Admin\DateTimeProvider

DateTimeProviderInterface::get_now()publicWC 1.0

Returns the current DateTime.

{} It's a method of the class: DateTimeProviderInterface{}

No Hooks.

Return

DateTime.

Usage

$DateTimeProviderInterface = new DateTimeProviderInterface();
$DateTimeProviderInterface->get_now();

Code of DateTimeProviderInterface::get_now() WC 6.6.1

public function get_now();