src/Webiny/AnalyticsDb/DateHelper.php
public static function rangeThisMonth()
    {
        $currentMonth = date('Y-m-01', time());
        $currentMonthTs = self::toTs($currentMonth);

        return [$currentMonthTs, $currentMonthTs + (86400 * (date('t') - 1))];
    }
public static function rangeThisMonth()
    {
        $currentMonth = date('Y-m-01', time());
        $currentMonthTs = self::toTs($currentMonth);

        return [$currentMonthTs, $currentMonthTs + (86400 * (date('t') - 1))];
    }
public static function rangeThisMonth ( ) { $ currentMonth = date ( 'Y-m-01' , time ( ) ) ; $ currentMonthTs = self :: toTs ( $ currentMonth ) ; return [ $ currentMonthTs , $ currentMonthTs + ( 86400 * ( date ( 't' ) - 1 ) ) ] ; }
Returns a date range for the current month.

@return array
Returns a date range for the current month .