Question

2
Replies
2732
Views
sunilkumarb8490 Member since 2017 6 posts
Adqura
Posted: 3 years ago
Last activity: 3 years 1 month ago
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
Share this page LinkedIn