---
title: "Date Expression Compare precondition"
canonical: "https://support.appfire.com/space/JSUCLOUD/12517966/Date%20Expression%20Compare%20precondition"
format: markdown
---
> Macro (aura-html)

> Macro (excerpt)
> 
> ## Description
> 
> The Date Expression Compare precondition compares the value of a date field with a date expression. For example, the date field must be more recent than the actual date.
> 
> ## Configuration
> 
> You must select the date field, the comparison condition, the date expression, and whether to include the time part for comparison. 
> 
> ![Example configuration for the Date Expression Compare precondition as described on this page.](media://c1c7a4f8-fbed-4287-8310-3e49711618a3)
> 
> ## Example
> 
> A workflow is configured so that the Resolve transition has the Date Expression Compare check where `Due date > 1w 1d`. If the transition is executed, and the due date is more than a week and five days away, the time left at resolution will be set to `> 1w`.
> 
> ## Supported field types
> 
> > Macro (include)