Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Using BrokerDate Objects | Date and Time Representation
 
Date and Time Representation
The webMethods Broker library uses the BrokerDate structure, shown in the following example, along with the standard C date and time functions, to provide a simplified date and time representation for your applications.
typedef struct BrokerDate {
short year;
short month;
short day;
short hour;
short min;
short sec;
short msec;BrokerBoolean is_date_and_time;
} BrokerDate;
The value of the is_date_and_time member is as follows:
*0 (false) - only the year, month, and day are being used.
*1 (true) - all the date and time fields are valid.