Skip to content
For AI agents: the complete documentation index is available at llms.txt; this page is also available as Markdown at index.md.

DateTimeAttribute criterion

The DateTimeAttribute Search Criterion searches for products by value of a specified attribute, based on the date and time attribute type.

Arguments

  • identifier - attribute's identifier (string)
  • value - searched value (DateTimeImmutable)

Operators

The following operators are supported:

  • FieldValueCriterion::COMPARISON_EQ
  • FieldValueCriterion::COMPARISON_NEQ
  • FieldValueCriterion::COMPARISON_LT
  • FieldValueCriterion::COMPARISON_LTE
  • FieldValueCriterion::COMPARISON_GT
  • FieldValueCriterion::COMPARISON_GTE