---
title: Check date using Date A is the same as B
description: Check date using Date A is the same as B
---

[Centrldesk help center ](https://www.centrldesk.com/help)

# [Check date using Date A is the same as B](https://www.centrldesk.com/help/library-date-equals)

 Written by [Sebastian](https://www.centrldesk.com/help/author/sebastian) | Apr 25, 2022 6:16:27 PM

The Date A is the same as B block is used to check if a date equals another date.

Example A:

Input value Date A and input value Date B return false because Date A is not the same as Date B.

Result:

Returns true if Date A is the same as date B, otherwise false.

Tips and best practices:

 Both the date and the time are compared.

Library:

Date

[View full post](https://www.centrldesk.com/help/library-date-equals)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Sebastian"
  },
  "dateModified" : "2022-04-29T08:55:28.167Z",
  "datePublished" : "2022-04-25T18:16:27Z",
  "headline" : "Check date using Date A is the same as B block",
  "image" : {
    "@type" : "ImageObject",
    "height" : 520,
    "url" : "https://7836215.fs1.hubspotusercontent-na1.net/hubfs/7836215/library-date-equals.png",
    "width" : 1900
  },
  "mainEntityOfPage" : "https://www.centrldesk.com/help/library-date-equals",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60,
      "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
      "width" : 60
    },
    "name" : "Centrldesk help center"
  }
}
```