[ad_1]
Replies: 1
Hello;
Where am I doing wrong on this code?
fieldname16 = It refers to the number of days in the previous date calculation.
nekadarzaman1 = Calculates total seconds.
var nekadarzaman = DECIMALTOTIME(nekadarzaman1 ,”s”,”d days, h hours, i minutes, and s seconds”);
I can’t distribute the total seconds to the results I want here.
In other words, how many hours, how many minutes and how many seconds is the result of the seconds.
var nekadarzaman1 = PREC((fieldname16*24)*60*60, 0, true);
var nekadarzaman = DECIMALTOTIME(nekadarzaman1 ,"s","d days, h hours, i minutes, and s seconds");
jQuery('#calculation-nekadarzaman').html(nekadarzaman + ' berabersiniz.');
jQuery('.nekadarzaman-aciklama').html('Zaman Süresi :');
jQuery('.nekadarzaman-sonuc').html(nekadarzaman + ' berabersiniz.');
return nekadarzaman;
}