Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Change EXCEL Clock to Standard Clock or Military Time

2002 Excel's clock runs from Midnight of the day before to 11:59 PM of the
current day. I need to either find a way to make Excel work on a Standard
Clock or a Military Clock.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default Change EXCEL Clock to Standard Clock or Military Time

"YoMarie" wrote...
2002 Excel's clock runs from Midnight of the day before to 11:59 PM of the
current day. I need to either find a way to make Excel work on a Standard
Clock or a Military Clock.


Midnight is ambiguous. 0.000000000000001 seconds before midnight is the day
before, 0.000000000000001 seconds after midnight is the current day. By the
time you're becoming apoplectic, it'll legitimately be the current day.

As a practical matter, integer date values formatted with time components
will appear as either 00[:00[:00]] or 12[:00[:00]] AM, never as
24[:00[:00]]. The only way you could change this is to display times as
text, e.g.,

=IF(MOD(DT,1)=0,TEXT(DT-1,"mm/dd/yyyy ""24:00"""),TEXT(DT,"mm/dd/yyyy"))

but this will never show midnight as the beginning of a day.

As for 'standard clock', standard in what country? The US NIST suggests
using neither 12 AM or PM but noon and midnight instead, and it's silent on
whether exactly midnight is the end of the earlier day or the beginning of
the later day.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Change EXCEL Clock to Standard Clock or Military Time



"Harlan Grove" wrote:

"YoMarie" wrote...
2002 Excel's clock runs from Midnight of the day before to 11:59 PM of the
current day. I need to either find a way to make Excel work on a Standard
Clock or a Military Clock.


Midnight is ambiguous. 0.000000000000001 seconds before midnight is the day
before, 0.000000000000001 seconds after midnight is the current day. By the
time you're becoming apoplectic, it'll legitimately be the current day.

As a practical matter, integer date values formatted with time components
will appear as either 00[:00[:00]] or 12[:00[:00]] AM, never as
24[:00[:00]]. The only way you could change this is to display times as
text, e.g.,

=IF(MOD(DT,1)=0,TEXT(DT-1,"mm/dd/yyyy ""24:00"""),TEXT(DT,"mm/dd/yyyy"))

but this will never show midnight as the beginning of a day.

As for 'standard clock', standard in what country? The US NIST suggests
using neither 12 AM or PM but noon and midnight instead, and it's silent on
whether exactly midnight is the end of the earlier day or the beginning of
the later day.

"YoMarie" wrote:


Thank you for the response.

I understand the concept of "splitting hairs". However, I've taken on the
project for a small business of creating a Time Card that will calculate
itself. The company works on a standard US clock, that begins the day at
12:01 AM and ends the day at 12:00 PM (Midnight). They have operated on this
clock for over 25 years. So I need to find a solution.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default Change EXCEL Clock to Standard Clock or Military Time

YoMarie wrote...
....
project for a small business of creating a Time Card that will calculate
itself. The company works on a standard US clock, that begins the day at
12:01 AM and ends the day at 12:00 PM (Midnight). They have operated on this
clock for over 25 years. So I need to find a solution.


First, if you call 12:00 PM midnight, what's noon?

You'll need to use text formulas.

=IF(TEXT(DateTime,"hh:mm")="00:00",
TEXT(DateTime-1,"mm/dd/yyyy ""Midnight"""),
TEXT(DateTime,"mm/dd/yyyy hh:mm AM/PM"))

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 200
Default Change EXCEL Clock to Standard Clock or Military Time

Harlan Grove wrote:

First, if you call 12:00 PM midnight, what's noon?


From the meaning of "M" in AM and PM, one would expect that noon is
12:00M, since it is neither before (ante) nor after (post) the meridian;
but I haven't yet found anyone who can stomach that.

Alan Beban
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
can excel be a time clock or stop watch? Anthony Reynard Chinnis New Users to Excel 1 February 15th 06 06:51 AM
Calculating Clock start time in Excel Hani Muhtadi Excel Discussion (Misc queries) 1 August 31st 05 10:01 PM
Start Clock/Stop Clock abfabrob Excel Discussion (Misc queries) 9 June 28th 05 04:26 PM
Time Clock Jimcrushes Excel Worksheet Functions 5 March 17th 05 05:15 PM
time-clock calculation dokliver Excel Worksheet Functions 3 October 28th 04 09:07 PM


All times are GMT +1. The time now is 07:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"