...
Code Block | ||||
---|---|---|---|---|
| ||||
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
...
Type | Name | Comment |
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
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
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 (Content by label) | ||||||
---|---|---|---|---|---|---|
|