public function Carbon::toTimeString in Persian Date for Drupal 8 8.4
Format the instance as time
Return value
string
1 call to Carbon::toTimeString()
- Carbon::addWeekdays in src/
Library/ Carbon/ Carbon.php - Add weekdays to the instance. Positive $value travels forward while negative $value travels into the past.
File
- src/
Library/ Carbon/ Carbon.php, line 1260
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public function toTimeString() {
return $this
->format('H:i:s');
}