|
| iMatix home page | << | < | > | >> |
SFLVersion 2.10 |
#include "sfldate.h" long unpack_date (word packdate)
Converts a packed date back into a long value.
{
int year;
year = ((word) (packdate & 0xfe00) >> 9) + 80;
return (MAKE_DATE (year > 80? 19: 20,
year,
(word) (packdate & 0x01e0) >> 5,
(word) (packdate & 0x001f)));
}
| | << | < | > | >> |
|