Skip to content

Date and time attributes

The date and time attribute type allows you to represent date and time values as part of the product specification in the Product Information Management system.

You can use it to store, for example, manufacturing dates, expiration dates, or event dates, all with specified accuracy.

Usage

You can manage the date and time attribute type through the back office, data migrations, REST, or through the PHP API. It also supports searching by using DateTimeAttribute and DateTimeAttributeRange criterions.

Creating a product using a date and time attribute with "trimester" accuracy level

When creating an attribute based on the date and time attribute type you can select the accuracy level to match your needs:

Accuracy Example Limitations
Year 2025 Number between 1000 and 9999
Trimester Q3 2025
Month July 2025
Day 2025-07-06
Minute 2025-07-06 11:15
Second 2025-07-06 11:15:37