Issue #1962358 by grom358: Replaced call to undefined function system_get_date_types()