Before (Datetime)
The Before (Datetime) rule is used to check if a given date and time precedes a specified datetime value.
Options
Static Value
When using a static value, the date should be formatted as DD/MM/YYYY
. For example, to specify December 20, 2023, use 20/12/2023
.
Computed Value: "Now"
You can use the computed value "now" to always compare against the current date and time.
Product Field
You can also use a product field as the value for comparison. This is particularly useful for fields like on_sale_from
.
Examples
Apply Template
This example applies a special template in the period 18/11/2023 to 25/11/2023.