The IliDate Class

The IliDate class is used to hold date and time information.

IliDate dt;

 

// Initialize a date object.

dt.setYear(1998);

dt.setMonth(6);

dt.setMonthDay(10);

 

// Convert the date into an IliValue object.

IliValue val = dt;

 

// Assign it to a data source aware gadget.

someField->f_setValue(val);

In this example, the date is created, converted in an IlvValue object, assigned to a data-source-aware gadget and displayed.