An application sends a ZGM_SETREGCDATE message to set the internal date register in the ZeeGrid to the date specified by the null-terminated string in lParam.
ZGM_SETREGCDATE
wParam = 0; //not used; must be 0
lParam = (LPARAM) lpszString; //pointer to string representation of a date
Valid dates range from 1/1/1600 to 12/31/9999.
This message returns the julian date if valid, otherwise it returns 0.