| 1 | <?php namespace Arcanesoft\Tracker\Support; |
||
| 14 | class DateRange |
||
| 15 | { |
||
| 16 | /* ----------------------------------------------------------------- |
||
| 17 | | Main Methods |
||
| 18 | | ----------------------------------------------------------------- |
||
| 19 | */ |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Get current month's days range. |
||
| 23 | * |
||
| 24 | * @param string $keyFormat |
||
| 25 | * @param string $interval |
||
| 26 | * |
||
| 27 | * @return array |
||
| 28 | */ |
||
| 29 | public static function getCurrentMonthDaysRange($keyFormat = 'Y-m-d', $interval = '1 day') |
||
| 43 | } |
||
| 44 |