Data Access User Manual > Rogue Wave Views Data Access Gadgets > Utility Classes > The IliDate Class
 
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.

Version 6.0
Copyright © 2015, Rogue Wave Software, Inc. All Rights Reserved.