< previous page page_198 next page >

Page 198
Valid ranges are:
year, the year in the Western calendar.
week, the week number, from 1 to 53.
day, day of the week index, from 1 to 7, as follows:
1 = Monday
2 = Tuesday
3 = Wednesday
4 = Thursday
5 = Friday
6 = Saturday
7 = Sunday

The structure is defined in the header file iso_1.h as
struct ISO_YWD
 {
    int year;
    int week;
    int day;
 };
8.2.2
The
ISO_DATE_TIME Structure
The ISO_DATE_TIME structure allows the full date and time used in ISO document 8601 to be carried.
There are exceptions to ISO usage:
Fractions of seconds cannot be expressed, since time is carried to unit seconds only in this structure.
Fractions of minutes must be expressed as integer seconds.
Fractions of hours must be expressed as integer minutes and integer seconds.
The structure is defined in the header file iso_1.h as
struct ISO_DATE_TIME
 {
    struct DATE_INFO date;
    struct TIME_INFO time;
 };

 
< previous page page_198 next page >