Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

logicore
logicore
Offline

Badges

Badges
1

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
2

Discussions

Discussions
0

Questions

Questions
2

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by logicore
Customize the badges you want to showcase on your profile
Re: Calculate the difference between two dates - in Years and Months - not days - Adobe LiveCycle 12-09-2017
It would be possible. Need to use calculations to work it out. Use Date2Num to convert dates to numbers. I found the few times i used it, using FormCalc worked for me.

Views

477

Likes

0

Replies

0
Re: Calculate the difference between two dates - in Years and Months - not days - Adobe LiveCycle 11-08-2017
Hi,One way would be to use a library like MomentJS, https://momentjs.com/ . With this library you could write code like;moment("2016-06-05").diff("2014-01-01", "months") for complete monthsormoment("2016-06-05").diff("2014-01-01", "months", true) for a fractional valuethenmoment("2016-06-05").diff("2014-01-01", "years") for the year valueHere is an example, MonthsYearsDiff (https://sites.google.com/site/livecycledesignercookbooks/home/MonthsYearsDiff.pdf?attredirects=0&d=1 ), of using this libra...

Views

370

Likes

0

Replies

0