Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
User avatar
By khalesi
#829450
hi
i have two textbox , there is time in each of them with format (HH:mm)
how can i sum those textbox and show in another one textbox with format
like this ( 56:30 + 80:01 = 136:31 )
tanks for your help
#829833
Hello khalesi

You can do it like this :

1. Get values https://wiki.processmaker.com/3.0/JavaScript_Functions_and_Methods
2. Use this code
let [h1, m1] = time1.split(':')
let [h2, m2] = time2.split(':')
let result = ((+h1 + (+m1 / 60)) + (+h2 + (+m2 / 60)))

Cenforce 150 is a medication used to cope with a c[…]

What's SAP FICO?

Trustworthy and skill-building, each of these actu[…]

To convert MBOX to PST, start by downloading and i[…]

My Assignment Services stands out as one of the be[…]