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)))

Hello. For rental housing, there are software solu[…]

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]