Jump to content
Sign in to follow this  
Merit Solutions

Help with Date calculation please!

Recommended Posts

I have a table of Subscribers to a newsletter and a table of Subscriptions. I store the date they became a subscriber (JoinDate)but would like a quick and easy way to set their renewal date to be one year plus one month after their joining date. Obviously this has to take into account leap years etc..

Any helpful calculation would be much appreciated. Thank you

Share this post


Link to post
Share on other sites

Make a calc'field containing this:

Date ( 1+Month ( joinDate ) ; Day ( joinDate ) ; 1+Year ( joinDate ) )

...the result should be of date-type as well!

--sd

Share this post


Link to post
Share on other sites

If the renewal field needs to be manually modified, you can have your renewal date field be an auto-entry calcuated value of something like:

Date ( month ( registrationdate ) +13 ; day ( registrationdate ) ; year ( registrationdate ) )

* Edit: My post, posted late. Sorry Soren.

Edited by Guest
Post delayed

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.