Skip to content

$style[dateDiffBefore] and $style[dateDiffAfter]

Both keywords are used to show the difference in days between the current date and the date value of the field.

Installation

cob-cli customize dateDiff

Usage

$style[dateDiffBefore]
$style[dateDiffAfter]

setup

$style[dateDiffBefore]

Shows the difference before the field date value. datediffbefore

$style[dateDiffAfter]

Shows the difference after the field date value. datediffafter