This sample
illustrates how to use a simple DHTML behavior to parse WMI datetime values and
present them graphically using the generic Calendar and Datetime Picker
controls.
The other files or components used in this sample are:
datetime.htc - this is the behavior which exposes a WMI datetime value using a Calendar
and Datetime picker control.
calendar.htc - this is the standard Calendar behavior available from
MSDN online.
It is used internally by the datetime behavior.
The Microsoft Common Controls (MSCOMCT2.OCX) are used to supply the datetime picker control.
Type a legal DMTF datetime value in here:
Display it
The graphical representation of the datetime value appears below. You can change the values in
the display and see the textual datetime value above change accordingly.