C Examples: DbiDateDecode

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

C Examples: DbiDateDecode

Return to chapter overview

Decode a DBIDATE structure into month, day, and year numbers.

In this example the input is:

fDbiDateDecode(dbDate, &M, &D, &Y);

 

DBIResult fDbiDateDecode(DBIDATE DecodeDate, pUINT16 Month, pUINT16 Day, pINT16 Year)

{

   DBIResult   rslt;

   rslt = Chk(DbiDateDecode(DecodeDate, Month, Day, Year));

   return rslt;