Get the age bounds (min, max) as timestamp that would result in the given age(s)
note: expects valid age (> 0 and < 120)
public static ageBounds ( integer $firstAge, integer | null $secondAge = null, boolean $returnAsString = false, string | null $relativeTime = null ) : array | ||
$firstAge | integer | |
$secondAge | integer | null | (defaults to first one if not specified) |
$returnAsString | boolean | |
$relativeTime | string | null | |
리턴 | array | Array('min'=>$min, 'max'=>$max); |