Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Having trouble calculating time

Avatar

Former Community Member
i need help calculating times in Adobe Designer. I am creating a simple form for keeping track of hours worked. i am using a simple calculation subtracting one field from another to get hours worked from 2 times entered but the calculation doesn't work when :30 or :15 are entered. i am giving each field its own name and i am using h:MM A as a display. sorry for my simplicity - the scripts are really difficult for me. any help is appreciated - i am tearing my hair out:)
1 Reply

Avatar

Former Community Member
Hi,



First of all is it possible to add times?



What you can do is to use another format. Decimals instad. Then the user can fill in 0.5 for :30 and 0.25 for :15



A workaround solution.



Regards, Sandhya