src/Common/Console/Seed/Base.php
protected function randomPastDateTime($sLow = null)
    {
        $oNow = Factory::factory('DateTime');
        return $this->randomDateTime($sLow, $oNow->format('Y-m-d H:i:s'));
    }
protected function randomPastDateTime($sLow = null)
    {
        $oNow = Factory::factory('DateTime');
        return $this->randomDateTime($sLow, $oNow->format('Y-m-d H:i:s'));
    }
protected function randomPastDateTime ( $ sLow = null ) { $ oNow = Factory :: factory ( 'DateTime' ) ; return $ this -> randomDateTime ( $ sLow , $ oNow -> format ( 'Y-m-d H:i:s' ) ) ; }
Return a random datetime from the past, optionally restricted to a lower bound

@param string $sLow The lowest possible datetime to return

@return string
Return a random datetime from the past optionally restricted to a lower bound