WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\DateTimeProvider

CurrentDateTimeProvider::get_now() public WC 1.0

Returns the current DateTime.

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

No Hooks.

Return

DateTime. Nothing.

Usage

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

Code of CurrentDateTimeProvider::get_now() WC 5.3.0

<?php
public function get_now() {
	return new \DateTime();
}