Question

2
Replies
2893
Views
Close popover
sunil kumar behara (sunilkumarb8490)
Adqura

Adqura
IN
sunilkumarb8490 Member since 2017 6 posts
Adqura
Posted: July 26, 2017
Last activity: August 8, 2017
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