PC Review


Reply
Thread Tools Rate Thread

Change EXCEL Clock to Standard Clock or Military Time

 
 
=?Utf-8?B?WW9NYXJpZQ==?=
Guest
Posts: n/a
 
      25th Apr 2007
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.
 
Reply With Quote
 
 
 
 
Harlan Grove
Guest
Posts: n/a
 
      25th Apr 2007
"YoMarie" <(E-Mail Removed)> 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.


 
Reply With Quote
 
=?Utf-8?B?WW9NYXJpZQ==?=
Guest
Posts: n/a
 
      29th Apr 2007


"Harlan Grove" wrote:

> "YoMarie" <(E-Mail Removed)> 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.


>

 
Reply With Quote
 
Harlan Grove
Guest
Posts: n/a
 
      29th Apr 2007
YoMarie <YoMa...@discussions.microsoft.com> 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"))

 
Reply With Quote
 
Alan Beban
Guest
Posts: n/a
 
      29th Apr 2007
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Clock for Microsoft reset to military time Laura Microsoft Outlook 1 18th Nov 2009 11:29 PM
switching from military to clock time? hregallo Microsoft Outlook Discussion 2 20th Jun 2008 04:02 PM
switching from military to clock time in my calandar? hregallo Microsoft Outlook Discussion 3 20th Jun 2008 10:05 AM
How do I calculate time in excel (clock in and clock out chad Microsoft Excel Misc 3 7th Jan 2008 10:09 PM
Clock In / Clock Out (Military Time) equals negative time?? =?Utf-8?B?VHJhY2V5?= Microsoft Access Queries 6 13th Feb 2007 09:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:25 PM.