Skip to content

STIX should mandate a single timestamp format #85

@johnwunder

Description

@johnwunder

We discussed this at length on the cti-stix list and came to the following requirements:

  1. Timestamps MUST follow RFC 3339 with the following extra requirements
  2. Timestamps MUST use the timezone offset
  3. Timestamps MUST use the following format yyyy-mm-ddThh:mm:ss.mmmmmm+-hh:mm
  4. There will be an optional precision field (timestamp-precision) with the following string values: year, month, day, hour, minute, second, millisecond, microsecond. If precision is omitted, the default value of precision is "microsecond".
  5. When using the precision field, unknown values MUST be zeroed out

Some of those requirements may be superseded by data types in serialization formats (particularly binary formats) but as much as possible all serializations will follow these rules.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions