Inventory_Presser_Business_Day::is_tomorrow()
Is this day tomorrow?
Return Return
(bool)
Source Source
File: includes/class-business-day.php
public function is_tomorrow() {
$tomorrow = $this->current_datetime();
$tomorrow->add( new DateInterval( 'P1D' ) );
return $this->weekday === $tomorrow->format( 'w' );
}
Expand full source codeCollapse full source codeView on Github