get_lt_date - Retrieves date field from the labeled table (LT)

SYNTAX

#include "ltable.h"

FUNCTION get_lt_date (vec,date)

     struct VECTOR      *vec;
     struct LT_DATE     *date;

PARAMETERS

vec (Input/Output, struct VECTOR)

Pointer to a structure defining a field within an LT logical record. Note that vec the linked list defining the LT record.

date (Output, struct LT_DATE)

The date read from the LT.

DESCRIPTION

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/yyyy
Error checking is not done to ensure the date is valid.

RETURN VALUE

get_lt_date() has no return values.

SPECIAL CONSIDERATIONS:

The get_lt_date() call is for C only.