You are here

public function Carbon::subHour in Persian Date for Drupal 8 8.4

Remove an hour from the instance

Parameters

int $value:

Return value

static

File

src/Library/Carbon/Carbon.php, line 2450

Class

Carbon
A simple API extension for DateTime

Namespace

Drupal\persian_date\Library\Carbon

Code

public function subHour($value = 1) {
  return $this
    ->subHours($value);
}