Date/Time Difference 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 time works,I have included a special time format I have dubbed 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 excepotfor 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.

happy calculating.

What is DTime?

DTime specified as a set of numbers must be in the format "n days 0H:0M:0S.0ms as a string can be specified in 24 hour format with 3-digit milliseconds, where the time is 0 or positive, and the number of days is a plain integer.

Being converted from a string, DTime can be in several formats. wordy format, which consists of an integer followed by a keyword which may optionally include a period, can includes days, months, years, hours, seconds, milliseconds, weeks. for instance, "23wks. 5 min -7 hrs -2 days" I am working on it soyou can precede this with specific dates. this requires a different kind of parsing.

time +-*/ time


(any time format, can be relative, or mixed in free format, like 12/13/2014 1 years 1 day 3 wks 2 ww -235:94:30.999, these are cumulative)


(any time format, can be relative, or mixed in free format, like 12/13/2014 1 years 1 day 3 wks 2 ww -235:94:30.999, these are cumulative)

Results:

0/0/0000 or 0/0/0000
+
0/0/0000 or 0/0/0000

= 0/0/0000
= 0/0/0000

0/0/0000 or 0/0/0000
-
0/0/0000 or 0/0/0000

= 0/0/0000
= 0/0/0000

0/0/0000 or 0/0/0000
*
0/0/0000 or 0/0/0000

= 0/0/0000
= 0/0/0000

0/0/0000 or 0/0/0000
/
0/0/0000 or 0/0/0000

= 0/0/0000
= 0/0/0000


find end time from start DTime + DTime@n%

Start (Enter 0 for some values if necessary):
date/timestamp or any space-selarated list of time formats, at 0%

Add DTime (Enter 0 for some values if necessary):
date/timestamp or any space-separated list of time formats, at n% was taken
n% for DTime,expressed as real number or integer

Results:

DTime 0%: 0 days 00:00:00.000 + 0 days 00:00:00.000
DTime n%: 0 days 00:00:00.000 + 0 days 00:00:00.000
Date 0%: 0 days 00:00:00.000 + 0 days 00:00:00.000br> Date n%: 0 days 00:00:00.000 + 0 days 00:00:00.000
DTime Result: 0 days 00:00:00.000 + 0 days 00:00:00.000
Date Result: 0 days 00:00:00.000 + 0 days 00:00:00.000
Wordy Result: 0 days 00:00:00.000 + 0 days 00:00:00.000
All Words Result: 0 days 00:00:00.000 + 0 days 00:00:00.000
= 0 days 00:00:00.000 or 0 days 00:00:00.000


find end time from DTime 1st sample@n 1st sample, DTimeDiff@nDiff, end n, given 2 samples

end time=DTime difference/n difference*(end n - n sample)


date/timestamp or any space-separated list of time formats


date/timestamp or any space-separated list of time formats

Results:

At %:
% Left:
Elapsed Time: 0 days 00:00:00.000 or 0 days 00:00:00.000
Time Left: 0 days 00:00:00.000 or 0 days 00:00:00.000
Whole Time: 0 days 00:00:00.000 or 0 days 00:00:00.000
Start Time: 0 days 00:00:00.000 or 0 days 00:00:00.000
End Time: 0 days 00:00:00.000


time@n0, time@n1, nmax, resulting in amount of time left or resulting time point

here,we are not interested in time position, but in amount of time left

n0 time (Enter 0 for some values if necessary):
date/time or any space-selarated list of time formats (any time format accepted except ISO 8601),
@ n0 value

n1 time (Enter 0 for some values if necessary):
date/time or any space-selarated list of time formats (any time format accepted except ISO 8601),
@ n1 value

nmax

Results:

n0@DTime0: 0@0 days 00:00:00.000
n1@DTime1: 0@0 days 00:00:00.000
time left Result: 0 days 00:00:00.000
Wordy Result time left: 0 days 00:00:00.000
All Words Result: 0 days 00:00:00.000
Date/time Result: 0 days 00:00:00.000


Date-Timestamps or DTime can be in the following formats:

0 days 23:59:59.999
1/31/2012 23:59:59.999
1.31.2012 23:59:59.999
2012-01-31 23:59:59.999
1/31/2012
1.31.2012
2012-01-31
23:59:59.999
23:59:59
23:59
any combination or selection of 0 years 0 months 0 days 0 hours 0 minutes 0 seconds 0 ms