public static function wasWithinLast($time, $span) {
        $span = static::factory($span);
        $time = static::factory($time);
        $now = static::factory();

        return ($time >= $span && $time <= $now);
    }
public static function wasWithinLast($time, $span) {
        $span = static::factory($span);
        $time = static::factory($time);
        $now = static::factory();

        return ($time >= $span && $time <= $now);
    }
public static function wasWithinLast ( $ time , $ span ) { $ span = static :: factory ( $ span ) ; $ time = static :: factory ( $ time ) ; $ now = static :: factory ( ) ; return ( $ time >= $ span && $ time <= $ now ) ; }
Returns true if the date passed was within the last time frame span.

@param string|int $time
@param int $span
@return bool
Returns true if the date passed was within the last time frame span .