Question

2
Replies
3076
Views
sunil kumar behara (sunbehar)
TechStar Software Development India Pvt Ltd
sunil kumar behara
TechStar Software Development India Pvt Ltd
IN
sunbehar Member since 2017 6 posts
TechStar Software Development India Pvt Ltd
Posted: July 26, 2017
Last activity: August 8, 2017
Posted: 26 Jul 2017 9:16 EDT
Last activity: 8 Aug 2017 2:24 EDT
Closed

Converting BigDecimal to Date

Hi,

We have a requirement to create a function in pega to find the number of days between two given inputs, in which one input parameter can be either DateTime(yyyyMMddTHHmmss.SSS z) or Date (yyyyMMdd). Seems pega internally passes the BigDecimal format to the function when a strategy invokes this function, So we have to create a function which takes the Date/DateTime as BigDecimal. Can somebody help us how can we convert BigDecimal to java.util.Date (or DateTime).

Thanks

***Edited by Moderator Marissa to update categories***

Data Integration Java and Activities
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.