long ZCslStartDateTime( /* get start date and time */
ZCslHandle aHandle, /* CSL handle */
long *aYear, /* year (NULL = not required) */
long *aMonth, /* month 1...12 (NULL = not required) */
long *aDay /* day 1...31 (NULL = not required) */
long *aHour, /* hour 0...23 (NULL = not required) */
long *aMinute, /* minute 0...59 (NULL = not required) */
long *aSecond /* second 0...59 (NULL = not required) */
);
Get CSL start date (date and time of ZCslOpen call). For values you
don't need you may pass a NULL pointer.
Example:
long errs, year, month, day, hour, minute;
errs =
ZCslStartDateTime(
csl,
&year, &month, &day);
&hour, &minute, NULL);
if (errs) .... /* error handling */
printf(
"CSL was started at %02ld/%02ld%/%04ld %02ld:%02ld%\r\n",
month, day, year, hour, minute);
|