Newbies Techserv Posted June 22, 2008 Newbies Posted June 22, 2008 I am very new to Filemaker. I am trying to use Filemaker instead of Excel for a few projects and I am having a hard time getting some of the calculations worked out. I am trying to get Filemaker to calculate the age of an item using the current date and a field called "manufacturedate". I got it to display a result in whole years (for example 2.0 years) but I need it to break it down into partial years (for example 2.6 years) I am sure this is easy, but I have tried a bunch of combinations of code and tried using formulas from some of the sample files with no luck.
comment Posted June 22, 2008 Posted June 22, 2008 Try something like: Round ( ( Get (CurrentDate) - ManufactureDate ) / 365.2425 ; 1 )
Lee Smith Posted June 22, 2008 Posted June 22, 2008 This topic comes up from time to time. I just did a search for [color:red]+Years +Month +Days, and pulled up all kinds of hits. Note the Pluses [color:red]+, they are important to narrowing your search criteria down, Start with this one Link and pay attention to any posts by comment.
Newbies Techserv Posted June 22, 2008 Author Newbies Posted June 22, 2008 Try something like: Round ( ( Get (CurrentDate) - ManufactureDate ) / 365.2425 ; 1 ) Awesome! Worked like a charm. Thanks!
Recommended Posts
This topic is 6057 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now