edmiUnpackDate


 

EdmiError edmiUnpackDate(EdmiPackedDate packedDate,
                          EdmiDate       *date, 
                          EdmiStringDate *stringDate, 
                          SdaiInteger    stringFormat);

Converts the specified time and date value in EdmiPackedDate format to EdmiDate and EdmiStringDate formats.

Arguments


TypeNameComment
EdmiPackedDate

packedDate

The time and date in EdmiPackedDate format to be converted.

EdmiDate

date

Address of a variable of type EdmiDate that will receive the specified time and date in EdmiDate format.

EdmiStringDate

stringDate

Address of a variable of type EdmiStringDate that will receive the specified time and date value in EdmiStringDate format. The actual value is located in a buffer in EDMinterface that can be overwritten by the next EDMinterface operation.

SdaiInteger

stringFormat

Dummy, not yet used.

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

Options


 

Example


 

 EdmiError rstat;
 EdmiPackedDate packedDate;
 EdmiDate date;
 EdmiStringDate stringDate;
 . . .
 if (rstat = edmiUnpackDate (packedDate, &date, &stringDate, 0)) {
 /* Error in operation */ 
 printf("\nError: %s in edmiUnpackDate\n", 
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 /* Printing out the returned string date */
 printf("\nDate: %s", stringDate);
 . . .

 

See also

Filter by label

There are no items with the selected labels at this time.