Hi all,
I have the following requirement:
I have a date field 0calday and the user would like to add a specific no.of days to it, like for example 10 or 15 days. Then we use this computed date field in calculations in the query. Could you please help and let me know how we can no.of days to a date field? And also how we can compute no.of days between two date fields?
Regards,
Ashmith Roy
For your first question, adding a fixed number of days can be acheived by using variable offsets.
For your second question, difference between to dates can be computed by using a formula. This formula contains difference of two formula variables on the two date fields using replacement path.
Let me know if you need more info, I can walk you through the process.
Hi Ashmith,
When the user enters both date and no. of days, and if you want to calculate no of days from the user entered date I think you can go for an exit where you can use the available function module which calculates the no of days from starting of the month for the given date. Then you can add up the days entered by the user and use another available function module which converts it to the dat format again based on the given days and the old date. I don't remember the function module names but i am sur ethey are available.
If the above thing is made possible then I think getting no of days between two dates is not a problem. Well i hope this will help you.
Add a comment