grant Posted January 27, 2001 Posted January 27, 2001 I need to add 3 months to the date in a date field. I've tried lots of things, but I can't get it to do it. Grant Fitz
Chuck Posted January 27, 2001 Posted January 27, 2001 This should work: Date( Month( Date_Field ) + 3, Day( Date_Field ), Year( Date_Field ) ) There are some caveats, however. First, if the month you are in has more days than the month three months ahead, and you are on one of the last days, then you're going to end up in the next month. For instance, if Date_Field is March 31, 2001 (3/31/2001) this calculation results in 6/31/2001, which FileMaker will translate to 7/1/2001 since June has only thirty days. If you want to account for this, so that it ends up at 6/30/2001, the equation begins to get a bit more complicated, but it is possible. Chuck
Recommended Posts
This topic is 8705 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