public function Carbon::endOfDay in Persian Date for Drupal 8 8.4
Resets the time to 23:59:59
Return value
static
1 call to Carbon::endOfDay()
- Carbon::endOfWeek in src/
Library/ Carbon/ Carbon.php - Resets the date to end of week (defined in $weekEndsAt) and time to 23:59:59
File
- src/
Library/ Carbon/ Carbon.php, line 2893
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public function endOfDay() {
return $this
->setTime(23, 59, 59);
}