Finds the smallest numeric value in given field. (For the biggest value, use ptb_max.)
This function returns integer when used on field with numeric value or null if database is empty.
$firstYear = ptb_min($myDatabase, 'year');