This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Inventory_Presser_Business_Day::current_datetime()

current_datetime


Description

Use WordPress current_time() to create a DateTime object


Return

(void)


Source

File: includes/class-business-day.php

	private function current_datetime() {
		return new DateTime( date( DATE_RFC2822, current_time( 'timestamp' ) ) );
	}