Is there a way to calculate #Years & #Months (to be displayed in two separate fields) from a single field such as 01/01/2015 - Present (where present is today's system date)?
Hidden Field 1: The system's UI will auto-populate from date: 01/01/2015
Hidden Field 2: The system's UI will auto-populate the database date (generally today's date) ie 6/20/2016
Script needed:Visible field 1: Display the year: 1 (just the number and not verbiage)
Visible field 2: Display months: 5
# of days not needed
This code is custom coding and the name of the fields is part of the code.