how to get the ratio of start and end date

November 7, 2016 at 01:53:13
Specs: Windows 7
can anyone help me to get the ratio of startdate, enddate.

startdate = 2016-02-14 20:10:10
enddate = 2016-02-14 23:59:59
c= 44:10:09 (Total time of 2016-02-14)

r = (ratio(23:59:59) - ratio(20:10:10)) /44:10:09;
NOte: convert 20:10:10, 23:59:59 by minutes before taking the ratio. 44:10:09 also convert it by minutes while taking r value

Thanks in advance, AAA


See More: how to get the ratio of start and end date

Report •

#1
November 10, 2016 at 07:42:27
You posted in the Unix Forum, yet you listed your OS as Windows 7. What program are you using to determine your desired result?

If Unix are you using a bash script?

message edited by beachyhbt


Report •
Related Solutions


Ask Question