RUAL Documentation

difference in years

This block is part of the date,timezone group and was last modified in core v13.0.7.

difference in years v13.0.7

The difference between 2 given dates in years.

Pin Pin Type Default
base date
date now
compare torequired
Will be compared to the base date. If this pin is later than the base date a positive number will be returned.
date
Pin Pin Type Example
rounded diff
number
exact diff
Will return the exact difference with an accuracy of 3 digits after the comma.
number

Core Releases

v13.0.7 This block was introduced in v13.0.7, click here to see the release notes.
Back to date,timezone Return to the main group to view all sub-groups Back to date Return to the group to view all blocks within this group