int KISAMGetDate(KHAND handle, char *lpRecbuf, char *lpName, int nOcc, double *lpNum)
Parameter | Type | Purpose |
handle | KHAND | handle of table to which the row buffer applies |
lpRecbuf | char * | record buffer containing a database row |
lpName | char * | name of the column as defined in the data dictionary for the table. |
nOcc | int | occurrence number for array columns counted from 1. Use zero if not applicable. |
lpNum | double * | location to receive the date. |
This returns the date for column lpName as a double using the Visual Basic convention of days since 31 December 1899. KISAM dates do not include a time component. You can get the value of a date column as a string in ISO format CCYY-MM-DD by using KISAMGetString.