stanislav-janu/date-time

DateTime extension for nette


License
MIT

Documentation

DateTime

Extension for class Nette\Utils\DateTime.

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

Methods:

  • setQuarter([int $number [, int $fl]])
    • $number range 14 or null (default: null)
    • $fl = DateTime::QUARTER_FIRST_DAY or DateTime::QUARTER_LAST_DAY (default: DateTime::QUARTER_FIRST_DAY)
  • formatQuarter() returned string "2018Q4"