An application sends a ZGM_GETTODAY message to get the current day's julian date and string representation in 'YYYY/MM/DD' format.
ZGM_GETTODAY
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 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.
This message returns the julian date of the current date.
Preallocate the string in lParam with at least 11 characters.