on 2023 Jun 22 9:32 PM
I have the following requirement in employee central.
I have a portlet containing 3 fields - Start date (Date type), End date (Date type), Date Difference (String type).
The requirement is to write a business rule to set the Date Difference field in the format (X Years, Y months, Z Days) based on Start date field value and End date field value.
Thanks in advance for your help.
Well in terms of structure it would be something like this (and each number would be a format as shown in the initial clause).
The problem is that it will be very challenging to come up with something to get a correct reflection of the months and days (that would be a lot of variables most likely with deep calculations), where you'd be working with the outcome of Get Number Of Calendar Days()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
4 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.