---
sourceDocument: Australia ServiceNow AI Platform user interface
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/platform-user-interface

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia ServiceNow AI Platform user interface

ft:clusterId :

    - platux

bundleId :

    - platux

workflow :

    - Platform


---

# Evaluate equality between date values

# Evaluate equality between date values {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Date comparison evaluates a match for one of several date increments.

## Antes de Iniciar

Role required: none

## Por Que e Quando Desempenhar Esta Tarefa

You can specify granularity to the hour, day, week, month, quarter, or year. For example, the filter \[Created on\] \[is same\] \[Week\] as \[Closed\] returns records that were closed in the same week that they were opened. When you run this type of filter, be sure to specify the year in an additional filter condition of \[Created\] \[is same\] \[Year\] as \[Closed\] to eliminate records that were created a year before they were closed.Figura 1. Date field comparison

## Procedimento

1. In the condition builder, create a new condition.
2. Select a date field from the left operand choice list.
3. Select \[is same\] or \[is different\] from the operator choice list.  
   An additional choice list appears.
4. Select the granularity from the date range choice list.  
   {#t_EvaluatingEqualityBetweenDates__table_dpj_nh3_3p__entry__2}

   | Date Range | Description |
   |-|-|
   | Hour | Filters on the hour of the day. |
   | Day | Filters on the day of the month, not the date. For example, a Day value of the 1 of August matches with a Day value of the 1 of September. |
   | Week | Filters on the week of the year. ServiceNow defines a week as Sunday through Saturday for the purposes of Field Comparison. |
   | Month | Filters on the month of the year. For example, any date within December returns the 12 month of the year. |
   | Quarter | Filters on the quarter of the year. |
   | Year | Filters on the year. |
   [Tabela 1. Date range descriptions]

   {#t_EvaluatingEqualityBetweenDates__table_dpj_nh3_3p}
5. Select a different date field from the right operand choice list.
6. Click Run.

