Use ToInt to convert it to milliseconds (1 second = 1000 milliseconds). Then do math to get hours/minutes/seconds. Then if you want a datetime, use MakeDateTime with those values plus whatever year, month & day you want.
------------------------------
Melissa Bailey
Genesys - Employees
------------------------------
Original Message:
Sent: 07-13-2022 09:02
From: Irina Milstein
Subject: Convert Duration to DateTime
Hi All,
Sorry for the stupid question, but how can I convert the Duration type value to the DateTime type value or extract from it hours, minutes, and seconds?
Thanks,
#ArchitectureandDesign
------------------------------
Irina Milstein
ITNAV-Pro Ltd.
------------------------------