ZeeGrid Control Message



An application sends a ZGM_GETTODAY message to get the current day's julian date and string representation in 'YYYY/MM/DD' format.

wParam = 0;                      //not used; must be 0
lParam = (LPARAM) lpszString;    //pointer to string to return today's date as text in 'YYYY/MM/DD' format


The value of lParam. The current date is converted to text in the 'YYYY/MM/DD' form and returned in the string pointed to by lParam.

The string must be previously allocated and have a minimum length of 11 characters. Failure to preallocate this string will result in undefined behavior, possibly resulting in data loss and/or program crash.

Return Values

This message returns the julian date of the current date.


Preallocate the string in lParam with at least 11 characters.

Copyright © 2002-2016 by David Hillard