# blockenberg/2.0.7/blocks/date-difference/block.json

Blockenberg — 600+ Advanced Gutenberg Blocks &amp; AI Agent for WordPress Block Editor, version 2.0.7. 194 lines.

- Page: https://pluginprobe.com/plugins/blockenberg/2.0.7/code/blocks/date-difference/block.json
- Raw: https://pluginprobe.com/plugins/blockenberg/2.0.7/raw/blocks/date-difference/block.json
- Modified: 2026-03-06T12:32:40+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/blockenberg/2.0.7/code/blocks/date-difference/block.json#L10-L20`.

```json
{
    "apiVersion": 3,
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "name": "blockenberg/date-difference",
    "title": "Date Difference",
    "category": "bkbg-calculators",
    "icon": "calendar-alt",
    "description": "Calculate the exact difference between two dates — years, months, days, total days, weeks, hours, and working days.",
    "keywords": [
        "date",
        "difference",
        "days",
        "calculator",
        "between",
        "countdown",
        "duration"
    ],
    "textdomain": "blockenberg",
    "editorScript": "bkbg-date-difference-editor",
    "style": "bkbg-date-difference-style",
    "viewScript": "bkbg-date-difference-frontend",
    "supports": {
        "html": false,
        "anchor": true,
        "className": true,
        "align": [
            "wide",
            "full"
        ]
    },
    "attributes": {
        "title": {
            "type": "string",
            "default": "Date Difference Calculator"
        },
        "subtitle": {
            "type": "string",
            "default": "Find the exact duration between two dates."
        },
        "showTitle": {
            "type": "boolean",
            "default": true
        },
        "showSubtitle": {
            "type": "boolean",
            "default": true
        },
        "labelFrom": {
            "type": "string",
            "default": "From Date"
        },
        "labelTo": {
            "type": "string",
            "default": "To Date"
        },
        "showSwapBtn": {
            "type": "boolean",
            "default": true
        },
        "showYMD": {
            "type": "boolean",
            "default": true
        },
        "showTotalDays": {
            "type": "boolean",
            "default": true
        },
        "showWeeks": {
            "type": "boolean",
            "default": true
        },
        "showHours": {
            "type": "boolean",
            "default": false
        },
        "showMinutes": {
            "type": "boolean",
            "default": false
        },
        "showWorkingDays": {
            "type": "boolean",
            "default": true
        },
        "accentColor": {
            "type": "string",
            "default": "#6c3fb5"
        },
        "cardBg": {
            "type": "string",
            "default": "#ffffff"
        },
        "resultBg": {
            "type": "string",
            "default": "#f5f3ff"
        },
        "resultBorder": {
            "type": "string",
            "default": "#ede9fe"
        },
        "ymdColor": {
            "type": "string",
            "default": "#6c3fb5"
        },
        "daysColor": {
            "type": "string",
            "default": "#3b82f6"
        },
        "weeksColor": {
            "type": "string",
            "default": "#10b981"
        },
        "hoursColor": {
            "type": "string",
            "default": "#f59e0b"
        },
        "wdaysColor": {
            "type": "string",
            "default": "#ef4444"
        },
        "titleColor": {
            "type": "string",
            "default": "#1e1b4b"
        },
        "subtitleColor": {
            "type": "string",
            "default": "#6b7280"
        },
        "labelColor": {
            "type": "string",
            "default": "#374151"
        },
        "bgColor": {
            "type": "string",
            "default": ""
        },
        "titleSize": {
            "type": "number",
            "default": 26
        },
        "numSize": {
            "type": "number",
            "default": 40
        },
        "subtitleFontSize": {
            "type": "number",
            "default": 14
        },
        "statLabelFontSize": {
            "type": "number",
            "default": 11
        },
        "statUnitFontSize": {
            "type": "number",
            "default": 12
        },
        "inputLabelFontSize": {
            "type": "number",
            "default": 13
        },
        "typoTitle": {
            "type": "object",
            "default": {}
        },
        "typoSubtitle": {
            "type": "object",
            "default": {}
        },
        "typoNumber": {
            "type": "object",
            "default": {}
        },
        "cardRadius": {
            "type": "number",
            "default": 16
        },
        "inputRadius": {
            "type": "number",
            "default": 8
        },
        "maxWidth": {
            "type": "number",
            "default": 620
        },
        "paddingTop": {
            "type": "number",
            "default": 60
        },
        "paddingBottom": {
            "type": "number",
            "default": 60
        }
    }
}

```
