edmiPackLocalDate

edmiPackLocalDate

EdmiError edmiPackLocalDate(EdmiDate *date, EdmiPackedDate *packedDate);

Converts a local time and date from EdmiDate format to EdmiPackedDate format. The date from January 1, 1990 to December 31, 2053 can be represented in EdmiPackedDate format.

Arguments


Type

Name

Comment

EdmiDate

date

Address of the EdmiDate format data structure to be packed.

EdmiPackedDate

packedDate

Address of the variable that will receive the given <date> in EdmiPackedDate format. EdmiPackedDate may represent dates between January 1st, 1990 and December 31st 2053.

Return Value


Options


 

Example


 

 EdmiError rstat; EdmiDate date; EdmiPackedDate packedDate; . . . if (rstat = edmiPackLocalDate (&date, &packedDate)) { /* Error in operation */ printf("\nError: %s in edmiPackLocalDate \n", edmiGetErrorText(rstat)); goto error; } . . .

 

See also

Filter by label

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