Corrected date retrieval from DDBB.