Wrong date format in the grid when save calendar element

Hello,
I have a problem backup calendar date field from a form bound to a grid.
When I save the date modified in my form (calendar item) the format used in the grid (Fri January 27, 2012 2:33:00 p.m. GMT +0100) is not the one requested in the form (serverDateFormat: "% Y% m% d% H% i% s "), and finally when I read that date by selecting a row of the grid on the date shown in the calendar item on the form is wrong.
example:

if I use “myGrid.setDateFormat (”% m /% d /% Y “)” returns an error “setDateFormat” is not a function.
I use a grid that is loaded from a datastore and I filled out a form from a selected line. I use “dhtmlx suite 3.0 ‘and’ php connector 1.0”.
An idea to save the date format I want in the grid and database and why the date of the grid does not display correctly?
Thanks
convention_test.zip (1.92 KB)

In the original code (which does not work) I:
//— grid initialization and configuration —
myGrid = layout.cells (“a”). attachGrid ();
myGrid.setImagePath (“codebase / imgs /”);
myGrid.setSkin (“dhx_skyblue”);
myGrid.setColTypes (“txt, dhxCalendarA”);
myGrid.setHeader (“State DateEtat”);
myGrid.setInitWidths (“110.110”);
myGrid.setColumnIds (“state, dateEtat”);

And the modified code it works:
//— grid initialization and configuration —
myGrid = layout.cells (“a”). attachGrid ();
myGrid.setImagePath (“codebase / imgs /”);
myGrid.setSkin (“dhx_skyblue”);
Solved

myGrid.setHeader (“State DateEtat”);
myGrid.setInitWidths (“110.110”);
myGrid.setColumnIds (“state, dateEtat”);
myGrid.setColTypes (“txt, dhxCalendarA”);

Another amendment, the date format in the form that is converted into: serverDateFormat: “% d /% m /% Y”, dateFormat: “% d /% m /% Y”.
Default calendar format is “% d /% m /% Y”