You are here

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

Remove a second from the instance

Parameters

int $value:

Return value

static

File

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

Class

Carbon
A simple API extension for DateTime

Namespace

Drupal\persian_date\Library\Carbon

Code

public function subSecond($value = 1) {
  return $this
    ->subSeconds($value);
}