How to display Epoch time as a human-readable date using the JSON table macro in the Advanced Tables for Confluence app

How to display Epoch time as a human-readable date using the JSON table macro in the Advanced Tables for Confluence app

When you are using the JSON Table macro in the Data Center version of the Advanced Tables for Confluence app, the standard macro formatting like MX~DD.MM.YYYY works for 10-digit (seconds) values.

Sample JSON data:

{ "data": [ { "id": 1, "name": "Item A", "timestamp": 1678886400 }, { "id": 2, "name": "Item B", "timestamp": 1679059200 }, { "id": 3, "name": "Item C", "timestamp": 1750140000 } ] }

Follow these steps to display the Epoch time in a human-readable date format:

  1. Create a new Confluence page

  2. Insert the JSON Table macro into the page.

  3. Within the macro editor, configure the following settings:

    image-20250617-140305.png

     

  4. Go to Column settings and add these settings: MX~DD.MM.YYYY

  5. Click Publish.

    image-20250618-142021.png