public function Carbon::subSeconds in Persian Date for Drupal 8 8.4
Remove seconds from the instance
Parameters
int $value:
Return value
static
1 call to Carbon::subSeconds()
- Carbon::subSecond in src/
Library/ Carbon/ Carbon.php - Remove a second from the instance
File
- src/
Library/ Carbon/ Carbon.php, line 2560
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public function subSeconds($value) {
return $this
->addSeconds(-1 * $value);
}