Retrieving and updating data

Retrieving and updating data

Hello All, 
I'm using Jquery Ui datepicker with ZendFramework version 1.
When I enter new data on date fields the datapicker component works fine.
When I try to retrieve data from the database and fill the date fields on the page I'm sending to the user, the date fields aren't filled with the database informaton.
Could u please explain to me what should I do before showing the field to the user?
Kind regards
JDC