From e70b2b3a3cd38409e4dafa680ad55dea913772c7 Mon Sep 17 00:00:00 2001 From: Abhishek Sinha Date: Fri, 11 Sep 2020 22:47:43 +0530 Subject: [PATCH] functions for unconfirmed deposits done --- index.html | 136 ++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 115 insertions(+), 21 deletions(-) diff --git a/index.html b/index.html index 4019c42..9378bd6 100644 --- a/index.html +++ b/index.html @@ -140,8 +140,8 @@ @@ -11143,6 +11143,12 @@ }); } + function diff_hours(dt2, dt1) { + var diff =(dt2.getTime() - dt1.getTime()) / 1000; + diff /= (60 * 60); + return Math.abs(Math.round(diff)); + } +