Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Sep 1, 2026

ADF node: date

Node

Description

The date node displays a date in the user’s locale.

Example

Java

1
2
3
4
5
p(
        text("I wrote this on "),
        date(1690344879000L)
);

ADF

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "type": "paragraph",
  "content": [
    {
      "type": "text",
      "text": "I wrote this on "
    },
    {
      "type": "date",
      "attrs": {
        "timestamp": "1690344879000"
      }
    }
  ]
}

Result

I wrote this on 26 Jul 2023

Note: This example output is not using AtlasKit to render the date, so while it gives a vague impression of what a “date” is, it does not faithfully reproduce the actual presentation in Atlassian products. This example also has a hardcoded rendering that does not respect the viewer’s locale.

Compatibility

Products

ConfluenceJira

Usage

Marks

Structure

  • type - date
  • attrs
    • timestamp - string – not empty; milliseconds since 1970-01-01 00:00:00 UTC1
    • localId? - string2

  1. This library will also accept the date in several other formats for convenience; however, if the value is given as a string that cannot be parsed as a long value, then the behavior is undefined.↩︎
  2. The localId, when present, will typically be a random UUID. This is not enforced by the schema.↩︎

Rate this page: