Heads up! These docs are for STIX 1.1, which is not the latest version (1.2). View the latest!

DateTimeWithPrecisionTypeCybOX Common Schema

This type is used as a replacement for the standard xs:dateTime type but allows for the representation of the precision of the dateTime. If the precision is given, consumers must ignore the portions of this field that is more precise than the given precision. Producers should zero-out (fill with zeros) digits in the dateTime that are required by the xs:dateTime datatype but are beyond the specified precision.

In order to avoid ambiguity, it is strongly suggested that all dateTimes include a specification of the timezone if it is known.


Field Name Type Description
@precisionoptional DateTimePrecisionEnum

The precision of the associated dateTime. If omitted, the default is "second", meaning the full field value (including fractional seconds).