DateTrait
trait DateTrait (View source)
Methods
Details
QueryDate
getDate(string $period)
Get QueryDate object from period name.
e.g. "yesterday" => QueryDate(period = "day", date = "yesterday")