public function Carbon::endOfMonth in Persian Date for Drupal 8 8.4
Resets the date to end of the month and time to 23:59:59
Return value
static
File
- src/
Library/ Carbon/ Carbon.php, line 2913
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public function endOfMonth() {
return $this
->setDateTime($this->year, $this->month, $this->daysInMonth, 23, 59, 59);
}