Hi i have a question and i would really love to get help. i currently allow user to select a start and a end date. with this information i want to calculate the number of days. I have tried coding this myself but i keep getting errors.
Hi i have a question and i would really love to get help. i currently allow user to select a start and a end date. with this information i want to calculate the number of days. I have tried coding this myself but i keep getting errors.
Hi,
you need to do a range check. This sample from an old draft of mine contains a separate class for the Data Range calculation that may work for your use case too:
If you skip the activity stuff, you should be able to reuse where ever you want with this call:
var body = "<start_date_>" + dateStart + "</start_date_>" +
"<end_date_>" + dateEnd + "</end_date_>";
var result = aras.applyMethod("MyMethodname",body);
Hi,
you need to do a range check. This sample from an old draft of mine contains a separate class for the Data Range calculation that may work for your use case too:
If you skip the activity stuff, you should be able to reuse where ever you want with this call:
var body = "<start_date_>" + dateStart + "</start_date_>" +
"<end_date_>" + dateEnd + "</end_date_>";
var result = aras.applyMethod("MyMethodname",body);
Hi,
That has helped thank you so much. I really appreciate this. Thanks