WordPress at a glance
class is not described

Automattic\WooCommerce\Admin\DateTimeProvider

DateTimeProviderInterface{} WC 1.0

DateTime Provider Interface.

No Hooks.

Return

null. Nothing.

Usage

$DateTimeProviderInterface = new DateTimeProviderInterface();
// use class methods

Methods

  1. get_now()

Code of DateTimeProviderInterface{} WC 5.3.0

<?php
interface DateTimeProviderInterface {
	/**
	 * Returns the current DateTime.
	 *
	 * @return DateTime
	 */
	public function get_now();
}