---
title: Convert a date to an ISO date text
description: Convert a date to an ISO date text
---

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

# [Convert a date to an ISO date text](https://www.centrldesk.com/help/library-date-toisostring)

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

The Date To ISO 8601 block is used to convert a date to an ISO date text.

Example A:

The input date returns an ISO 8601 formatted text.

Result:

Returns an ISO 8601 formatted text from the date.

Tips and best practices:

 -

Library:

Date

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

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Sebastian"
  },
  "dateModified" : "2022-04-29T09:42:30.241Z",
  "datePublished" : "2022-04-25T18:34:50Z",
  "headline" : "Convert a date to an ISO date text using Date To ISO 8601 block",
  "image" : {
    "@type" : "ImageObject",
    "height" : 520,
    "url" : "https://7836215.fs1.hubspotusercontent-na1.net/hubfs/7836215/library-date-toisostring.png",
    "width" : 1900
  },
  "mainEntityOfPage" : "https://www.centrldesk.com/help/library-date-toisostring",
  "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"
  }
}
```