Date format on prescription help

I can also do this in the development demo 5.02 : the patient’s date of birth on file and the one on the prescription are not the same (when globals set to DD/MM/YYYY). Could someone help me with this to at least get this right? seems to be in C_Prescription.class.php.