#include "ltable.h"
FUNCTION get_lt_date (vec,date)
struct VECTOR *vec; struct LT_DATE *date;
Pointer to a structure defining a field within an LT logical record. Note that vec the linked list defining the LT record.
The get_lt_date() routine reads the date field from the labeled table and returns it to the application program in a structure. The structure is defined to be:
struct LT_DATE { long month; long day; long year; }It is assumed the date is stored as an ASCII string within the labeled table I/O buffer with the following format:
mm/dd/yyyyError checking is not done to ensure the date is valid.
get_lt_date() has no return values.