ZCslStartDateTime

C Scripting Language
Reference Manual
Version 4.4.0

<< Back  End  Next >>
 
 
INDEX
Introduction
Installation
Using the CSL executive
Language
Directives
System library
String library
Math library
Regular expression lib.
File library
Database library
Async Communication
Registry/Profile handling
Windows control
C API
   Embedding CSL
   Writing libraries
   API reference
      ZCslAddFunc
      ZCslAddVar
      ZCslCall
      ZCslCallEx
      ZCslClose
      ZCslGet
      ZCslGetError
      ZCslGetResult
      ZCslLoadLibrary
      ZCslLoadScriptFile
      ZCslLoadScriptMem
      ZCslOpen
      ZCslSet
      ZCslSetError
      ZCslSetResult
      ZCslSetTraceMode
      ZCslShow
      ZCslStartDateTime
      ZCslTrace
      ZCslTraceMode
      ZCslVarExists
      ZCslVarResize
      ZCslVarSizeof
C++ Class Interface
CSL links
  
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);
  Copyright © IBK Landquart Last revision: 27.05.2002 << Back  Top  Next >>