DateTime
Extension for class Nette\Utils\DateTime.
Methods:
-
setQuarter([int $number [, int $fl]])
- $number range
1
–4
ornull
(default:null
) - $fl =
DateTime::QUARTER_FIRST_DAY
orDateTime::QUARTER_LAST_DAY
(default:DateTime::QUARTER_FIRST_DAY
)
- $number range
-
formatQuarter()
returned string "2018Q4"