ZeeGrid Control Message

ZGM_GETDOY


ZGM_GETDOY

An application sends a ZGM_GETDOY message to get the day of the year for the given julian date.

ZGM_GETDOY
wParam = 0;                          //not used; must be 0
lParam = (LPARAM)(int) iJulianDate;  //julian date

Parameters

iJulianDate
The value of lParam. A julian date value. Valid values are in the range of [1..3068037].

Return Values

This message returns the day of the year for the given julian date. If the julian date specified in lParam is valid, the return value will be in the range of [1..366]. If the julian date specified in lParam is not valid, this message will return 0;

Copyright © 2002-2016 by David Hillard