Military time calculator

Talk about "WhatEVER !"..
Post Reply
Message
Author
selvan777
Senior Member
Senior Member
Posts: 507
Joined: Mon Sep 27, 2004 5:41 am
Location: Folsom, CA, US
Contact:

Military time calculator

#1 Post by selvan777 » Tue Jun 28, 2005 3:19 am

Does anyone know of a calculator that will subtract military time like so:

2203 End time
-1225 Start time
====
0938 Total time
T23 2647-NU8 (retired X20)
XP Pro SP3
Firefox

karnesky
Posts: 13
Joined: Wed Jun 29, 2005 12:52 pm
Contact:

#2 Post by karnesky » Wed Jun 29, 2005 6:58 pm

Gnumeric, OO.o Calc, and MS Excel all do time calculations.

To find number of hours:

A1: 22:03
B1: 12:25
C1: =A1-B2
D1: =C1*24

A1 is your end time, B1 is your start time, C1 will display the difference in terms of time & D1 (if the cell is set to have a number, rather than time format) will show the raw number of hours.
T43 2668-C2U: 14.1" SXGA+, 6-cell battery, Pentium M 760 2.0GHz XP Pro, 1x512MB RAM @ 533MHz, 80GB HD, Combo drive

selvan777
Senior Member
Senior Member
Posts: 507
Joined: Mon Sep 27, 2004 5:41 am
Location: Folsom, CA, US
Contact:

#3 Post by selvan777 » Thu Jun 30, 2005 12:39 am

Thanks, I didn't realize excel did that without complicated formula.

I was wondering if there's a calculator that will do that though?

Anyway, after posting I realized that any standard calculator would do by deducting 40 anytime the last two digits (the minutes) was 60 or above: 2203-1225=978 978-40=938.

And for the raw time, as you call it, divide the minutes by 60.
T23 2647-NU8 (retired X20)
XP Pro SP3
Firefox

JHEM
Admin Emeritus
Admin Emeritus
Posts: 5571
Joined: Thu Apr 15, 2004 8:03 am
Location: Medford, NJ USA
Contact:

#4 Post by JHEM » Thu Jun 30, 2005 7:29 am

selvan777 wrote:Anyway, after posting I realized that any standard calculator would do by deducting 40 anytime the last two digits (the minutes) was 60 or above: 2203-1225=978 978-40=938.
WTH are you talking about???

The minutes are never greater than 60 in military time!

You need a calculator to figure out that anytime greater than 1200 (e.g. 1630 hours) simply requires subtracting 1200 from it to determine AM/PM time?

Regards,

James
James at thinkpads dot com
5.5K+ posts and all I've got to show for it are some feathers.... AND a Bird wearing a Crown

selvan777
Senior Member
Senior Member
Posts: 507
Joined: Mon Sep 27, 2004 5:41 am
Location: Folsom, CA, US
Contact:

#5 Post by selvan777 » Fri Jul 01, 2005 3:32 am

JHEM wrote:WTH are you talking about???
A friend asked, without the use of a computer, what's the easiest but accurate way of figuring out "time worked" when the company only uses military time. So I was wondering if there was a calculator for it.

Well, after posting, I found a very simple 1 or 2 step process using any standard credit card sized calculator to do it, check it out:

End time is 10:03PM (2203)
Start time is 12:25PM (1225)

step 1, subtract the start time from the end time:
2203-1225=978 (978 represents time as in 9hrs 78mins)

step 2, since 78 is an invalid number for minutes, and only because it is, subtract 40:
978-40=938 (9 hrs 38mins)

I gladly invite anyone to prove this method wrong using any combination of time...Image

Also, if you happen to work past midnight, let's say 12:10AM, when calculating use continuous time (midnight is 2400, 1AM is 2500, etc):

2410-1225=1185
1185-40=1145 (11hrs 45mins)
T23 2647-NU8 (retired X20)
XP Pro SP3
Firefox

Steve007
Junior Member
Junior Member
Posts: 379
Joined: Wed Sep 01, 2004 3:49 pm
Location: UK

Re: Military time calculator

#6 Post by Steve007 » Thu Jul 07, 2005 8:40 am

Military time?? :lol: What the hell are you lot talking about? We call it the 24hr clock here!
(2373-G3G) T40p/P-M 1.6GHz/1GB/60GB/14.1 SXGA/64MB ATI Fire GL 9000/CDRW-DVD/Cisco 802.11b/WinXP Pro SP2

(2373-8TG) T42/P-M 735/1GB/40GB/14.1 XGA/32MB ATI Radeon 7500/CDRW-DVD/Intel 802.11bg/WinXP Pro SP2

selvan777
Senior Member
Senior Member
Posts: 507
Joined: Mon Sep 27, 2004 5:41 am
Location: Folsom, CA, US
Contact:

#7 Post by selvan777 » Thu Jul 07, 2005 10:57 am

selvan777 wrote:step 2, since 78 is an invalid number...
Correction: since borrowing from the hours is needed, subtracting 40 is also needed.
T23 2647-NU8 (retired X20)
XP Pro SP3
Firefox

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Off-Topic Stuff”

Who is online

Users browsing this forum: No registered users and 2 guests