Question
Infosys
IN
Last activity: 4 Mar 2020 23:30 EST
Converting Decimal to Time value in hours and minutes
Hi I have requirement like i have parsed an excel and from excel i have a property named collection time which is having a value as 0.739583333333333 i need to conver it to time value the actual value for this decimal is 17:35 how this can be achieved in Pega i mean converting decimal to time format
kindly help on this
Hello Praveen
You can convert a decimal value to date value using the "toLocal" and "toGMT" functions.
@(Pega-RULES:DateTime).toGMT(0.847222222219, "America/New_York")
-Rakshith.