function name should follow pep8 (qldate_to_date e.g.)