ZeeGrid Control Message

ZGM_GETTODAY


ZGM_GETTODAY

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

Parameters

lpszString
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.

Remarks

Preallocate the string in lParam with at least 11 characters.

Copyright © 2002-2016 by David Hillard