I am using a custom format with the DateTime Control. However, when I look at the value that is stored in the grid, it is still the standard date format. Why is that and how can I get the correctly formatted date?

The value stored in the style is not in the custom format. Our sample code in gridapp (OG 5.0) is a bit misleading here. We fixed that sample in our 5.01 and 6.0 version.

CGXDateTimeCtrl is handling it the way that the standard format is stored as value but the custom format is displayed in the cell.

You can convert the value from standard format to custom format (that is displayed in the cell) when you call

   CGXDateTimeCtrl* pControl = (CGXDateTimeCtrl*) GetControl(nRow, nCol);
   CGXStyle style;
   ComposeStyleRowCol(nRow, nCol, style);
   pControl->GetControlText(strDisplay, nRow, nCol, NULL, style);  

Note: Only the full version of Objective Grid does provide a date-time control.