Calculating a Date

G

Guest

I am trying to build a Form which calculates the days it takes to accomplish
certain tasks. I have the following table displayed in a Form:

InitialDate | Days | EndDate
------------+--------+-----------
1/1/2005 | 2 |

Is there a way using expressions in which when a user enters and InitialDate
and the number of Days, the EndDate is determined by adding the InitialDate
plus the Days.

For example:

InitialDate | Days | EndDate
------------+--------+-----------
1/1/2005 | 2 | 1/3/2005

EndDate = automatically calculated.
 
G

Guest

Yes, you should use the dateadd function

=dateadd("d",Days,InitialDate)
Read the help about the dateadd function and you'll find it usefull when you
want to add days month years.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top