ZeeGrid Control Message



An application sends a ZGM_GETJDATE message to get the julian date of a date represented as a null-terminated string.

wParam = 0;                          //not used; must be 0
lParam = (LPARAM) lpszString;        //pointer to string representation of a date


The value of lParam. A pointer to a null-terminated date string. This string could be '12/28/58', '1958/12/28', '12/28/1958' or 'Dec 28, 1958' or other valid string representation of a date.

Valid dates are in the range from 'Jan 1, 1600' to 'Dec 31, 9999'

Return Values

If the date string represented in lParam is a valid date, the message will return the julian date of the text represented date. If the date string cannot be deciphered to a valid date, the message will return 0.

Julian dates are valid through the range of [1..3068037]. Julian date 1 = 'Jan 1, 1600'. Julian date 3068037 = 'Dec 31, 9999'.

Copyright © 2002-2016 by David Hillard