Jesus 'n Jim

A mainly PC (some Mac) site w/Software, Computer Repair Info, How-To's on Using Computers
Technical Support 1-360-521-2060 (my business line cell)

Date/Time Difference/Add Calculator

 

Overview

the information you enter here runs only on your browser on your machine, no data is transmitted to a server unless you use bookmark URL button, then it submits to same page (nothing active on server side) and builds a URL.

These are time/date calculators. because of the way relative time works, I have included a special time format I have named DTime, which includes days, hours (24-hour time format), minutes, seconds, and milliseconds. everything here has millisecond resolution. you must fill out all fields at least with a 0 for it to work except for gregorian day and month,which area minimum of 1, and all time is 24-hour time format (hours are 0..23).

Part of Windows CUA (Common User Access) means you can hit the Tab key (or shift-Tab to go backwards) to move/switch between fields/controls. this also selects what's in it automatically for replacement.

math can be used in any input. math.js is used, so if you want to get technical, you can look up the documentation on that.

DTime = milliseconds + (seconds*1000) + (minutes * 1000 * 60) + (hours * 1000 * 60 * 60) + (days * 1000 * 60 * 60 * 24)

---multiply has been disabled until such time as 128-bit or 256-bit integers and floating point or BigInt or BigNum comes to Javascript. otherwise, some multiplication just overflows and has problems using a float with Julian calendar also has precision problems of its own even resolving to 1 second or 1 minute due to floating point error.---

happy calculating.

date/time + DTime

Free Format Time (start) (Enter 0 for some values if necessary):

+ or - or * or /

Free Format Time (Enter 0 for some values if necessary):

Results:

event: 0/0/0000 ( 0/0/0000 )
+
0/0/0000 ( 0/0/0000 )
=
0/0/0000 ( 0/0/0000 ) ( 0/0/0000 )


event: 0/0/0000 ( 0/0/0000 )
( 0/0/0000 )
- 0/0/0000 ( 0/0/0000 )

= 0/0/0000 ( 0/0/0000 ) ( 0/0/0000 )


event: 0/0/0000 ( 0/0/0000 )
*
0/0/0000 ( 0/0/0000 )
=
0/0/0000 ( 0/0/0000 ) ( 0/0/0000 )


event: 0/0/0000 ( 0/0/0000 )
/
0/0/0000 ( 0/0/0000 )
=
0/0/0000 ( 0/0/0000 ) ( 0/0/0000 )


event: 0/0/0000 ( 0/0/0000 )
-
0/0/0000 ( 0/0/0000 )
=
0/0/0000 ( 0/0/0000 ) ( 0/0/0000 )


event: 0/0/0000 ( 0/0/0000 )
/
0/0/0000 ( 0/0/0000 )
=
0/0/0000 ( 0/0/0000 ) ( 0/0/0000 )


DTime + - × / n


+ - × / n (n is floating point/real number):

n ×

Results:

0 days 00:00:00.000 ( 0 days 00:00:00.000 )
+
n 0
*
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
=
0 days 00:00:00.000 ( 0 days 00:00:00.000 )


0 days 00:00:00.000 ( 0 days 00:00:00.000 )
-
n 0
*
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
=
0 days 00:00:00.000 ( 0 days 00:00:00.000 )


n 0
*
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
-
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
=
0 days 00:00:00.000 ( 0 days 00:00:00.000 )


0 days 00:00:00.000 ( 0 days 00:00:00.000 )
*
n 0
*
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
=
0 days 00:00:00.000 ( 0 days 00:00:00.000 )


0 days 00:00:00.000 ( 0 days 00:00:00.000 )
/
n 0
*
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
=
0 days 00:00:00.000 ( 0 days 00:00:00.000 )


0 days 00:00:00.000 ( 0 days 00:00:00.000 )
/
(n 0
*
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
)
=
0 days 00:00:00.000 ( 0 days 00:00:00.000 )


DTime + - × / n

Start (Enter 0 for some values if necessary):

+ - × / n (n is floating point/real number):
n. × / + -

Results:

0 days 00:00:00.000 ( 0 days 00:00:00.000 )
-
(n n
*
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
) =
0 days 00:00:00.000 ( 0 days 00:00:00.000 )


0 days 00:00:00.000 ( 0 days 00:00:00.000 )
-
(n n
*
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
) =
0 days 00:00:00.000 0 days 00:00:00.000


( n n
*
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
) -
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
=
0 days 00:00:00.000 0 days 00:00:00.000


0 days 00:00:00.000 ( 0 days 00:00:00.000 )
*
n n *
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
=
0 days 00:00:00.000 ( 0 days 00:00:00.000 )


0 days 00:00:00.000 ( 0 days 00:00:00.000 )
/
n n
*
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
=
0 days 00:00:00.000 ( 0 days 00:00:00.000 )


0 days 00:00:00.000 ( 0 days 00:00:00.000 )
/
( n n
*
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
) =
0 days 00:00:00.000 ( 0 days 00:00:00.000 )


n n
*
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
/
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
=
0 days 00:00:00.000 ( 0 days 00:00:00.000 )


( n n
*
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
) /
0 days 00:00:00.000 ( 0 days 00:00:00.000 )
=
0 days 00:00:00.000 ( 0 days 00:00:00.000 )