Hi,
I would like to calculate the age of a person in years
I have the date of birth stored in a XWiki class-object in a property of type Date/Time
The age should be calculated against NOW! (Sysdate in local-user time, although the
rounding in years does not make this a very important requirement.
Also I would like to be able to calculate a duration by subtracting two dates stored in a
XWiki class-object in a property of type Date/Time
Please a velocity-based guidance how to do this? (JoDaTime based)
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>