www.mathopenref.com Open in urlscan Pro
35.208.208.224  Public Scan

URL: https://www.mathopenref.com/time24calculator.html
Submission: On February 21 via manual from GY — Scanned from ES

Form analysis 2 forms found in the DOM

POST search.php

<form id="searchForm" action="search.php" method="post" onsubmit="goSearch();">
  <input id="srch" name="srch" style="float:left">
  <input type="hidden" id="dbug" name="dbug" value="normal">
  <div id="srchIcon" onclick="goSearch()">
    <div class="search icon" title="Search"></div>
  </div>
</form>

POST /site/contacts.php

<form id="feedback" action="/site/contacts.php" method="post">
  <input class="fbInput1" type="hidden" name="refpage" id="refpage" value="">
</form>

Text Content

WE VALUE YOUR PRIVACY

We and our partners store and/or access information on a device, such as cookies
and process personal data, such as unique identifiers and standard information
sent by a device for personalised ads and content, ad and content measurement,
and audience insights, as well as to develop and improve products. With your
permission we and our partners may use precise geolocation data and
identification through device scanning. You may click to consent to our and our
partners’ processing as described above. Alternatively you may access more
detailed information and change your preferences before consenting or to refuse
consenting. Please note that some processing of your personal data may not
require your consent, but you have a right to object to such processing. Your
preferences will apply to this website only. You can change your preferences at
any time by returning to this site or visit our privacy policy.
MORE OPTIONSAGREE
Math Open Reference

Home Contact About Subject Index



24 HOUR TIME CALCULATOR

After entering a time in 24-hour format, this calculator lets you add and
subtract a period to give a new time, also in 24 hour format. The 24 hour time
format is also known as "military time".

For example, you could enter the time 15:00:00 (3 pm), then add 70 seconds to it
which would give 15:01:10 ( 3:01 and 10 seconds pm).

00 : 00 : 00
= 12:00:00 AM

: : Hours Mins Secs

+ – Enter

Clear
See also Calculate the difference between two 24-hour times


INSTRUCTIONS

The calculator adds or subtracts input durations from the time in the top
window. You first enter a time in 24 hour format For example 6:12:0 which is
read as 6 hours 12 minutes and zero seconds. (6:12 am). After that you enter
durations and add/subtract them from the time in the top window.

 * Enter a time in three parts: the hours in left field, minutes in the middle,
   and seconds in the right field. When entering a time, the calculator checks
   that the hours are in the range 0-23, minutes and seconds are in the range
   0-59.
 * Enter the time by pressing "Enter a time". The time is placed in the top
   window, replacing what was there.
 * Enter a duration in the the three input boxes. The inputs can be any positive
   number. For example you could enter 100 in the minutes box and press "+".
   This would add 100 minutes to the time and display the new time. The numbers
   can have decimal places. For example 3.5 minutes will be taken as 3 min 30
   sec.






HOW IT WORKS

When a time is entered, it is internally converted to the number of seconds past
midnight. When a duration is entered (For example: 2 hrs 8 mins) the duration is
converted to seconds. The addition / subtraction is performed on the seconds and
then the result formatted as a new 24 - hour time.

If the operation results in a time in another day, the number of days offset
from the original time input is also shown.

For example if you enter 3:00:00 and then subtract 4 hours, it will show the
result as

"23:00:00 Previous day"
meaning 11pm the day before the original time you entered.




A NOTE ABOUT MIDNIGHT

The calculator shows midnight as 00:00:00, and assumes that to be the beginning
of a day. It will never display 24:00:00. So for example

 * 00:00:00 + 8 hours = 8 o'clock in the morning on the same day
 * 10:00:00 – 10 hours is 00:00:00 on the same day
 * 23:59:59 + 1 second = 00:00:00 on the next day




12-HOUR READOUT

All time outputs are also displayed in 12-hour format below the main display
window. It shows midnight as 12AM and is assumed to be the beginning of the day.
To avoid confusion, mid-day is shown as "12:00:00 Noon" It never displays "12
PM". So for example

 * 10:00:00 + 2 hours = 12 Noon
 * 23:59:00 + 1 minute = 12:00:00 AM next day



Use the links below for more information on topics related to this page.


RELATED TOPICS

 * 24 hour time calculator
 * Difference between two 24-hour times calculator


(C) 2011 Copyright Math Open Reference.
All rights reserved