_NAME_ getFirstDateOfCurrentArchivesData _PROTOTYPE_ void getFirstDateOfCurrentArchivesData(char* structName,struct tm *pTimeStruct); _SHORT-DESCRIPTION_ Determine the date of the first data archived for an instrument and data type _DESCRIPTION_ getFirstDateOfCurrentArchivesData is used to determine what the first day of a particular type of data is in the archive for a particular instrument (CRIS or SIS). _SHORT-CODE-SAMPLE_ struct tm timeStruct; struct tm *pTimeStruct; char structName[] = "L1SisDacOffset0"; _ getFirstDateOfCurrentArchivesData(structName, pTimeStruct); printf("year = %d\n", pTimeStruct->tm_year + 1900); printf("month = %d\n", pTimeStruct->tm_mon); /* 0 - 11 */ printf("mday = %d\n", pTimeStruct->tm_mday); /* 1 - 31 */ _INPUT_ * structName is a pointer to a string with the name of the data type you are interested in. * pTimeStruct is pointer to a struct tm to be filled in by getFirstDateOfCurrentArchivesData. _OUTPUT_ * The struct tm pointed to by pTimeStruct is filled with the values corresponding to the first date the data is available for.