Question

IBM
CN
Posted: Aug 15, 2023
Last activity: Aug 18, 2023
Last activity: 18 Aug 2023 10:32 EDT
Solved
create a Date from year month day or big decimal
How to create a Date (or DateTime) from year month day or big decimal in Pega?
E.g. I have 3 integers, 2022, 10, 03, I need create a Date 2022Oct03, how to do it?
Another option, I get a BigDecimal from function date(year, month, day), then how can I create a Date (or DateTime) from the BigDecimal?
Pls note I would like to use Pega OOTB functions only, instead of write Java codes.
***Edited by Moderator Marije to add Capability tags***