Newbies beagle Posted October 20, 2008 Newbies Posted October 20, 2008 i have a field( date 1) which i enter a date dd/mm/yy. In another feild (date 2) I want to calculate three months in the future of "date1". Ie date 1 = 1/11/08 date 2= 1/2/09 I thought this would be simple but i just dont get how to do it, please help .
Orlando Posted October 20, 2008 Posted October 20, 2008 (edited) Hi beaglepro. The simpliest way to do this is to use the date functions, and adding 3 to the Month parameter. [color:blue]Date2 = Date ( Month ( date1 ) + 3 ; Day ( date1 ) ; Year ( date1 ) ) This will also take into account of the end of the year and move it on if necessary. Also if you want the first day of the month change the Day parameter to "1" I hope this does the trick -- Orlando Edited October 20, 2008 by Guest
Newbies beagle Posted October 22, 2008 Author Newbies Posted October 22, 2008 the Straggler, I thank you. It worked perfectly.
Recommended Posts
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