+ Reply to Thread
Results 1 to 10 of 10

Is Excel's built in calendar/date/time system useful??

  1. #1
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Is Excel's built in calendar/date/time system useful??

    The above question came to me a few days ago while contemplating a users question on how to do something calendar related in Excel. It occurred to me to wonder -- we get a lot of questions on here that essentially seem to boil down to "how do I get Excel to work with dates and times". Personally, I have no need to use the built in calendar/date serials, and when I need to work with time, I prefer to convert my times to decimal hours, decimal minutes, or decimal seconds (depending on the time spans I'm working with) and perform my calculations that way. It has gotten me curious, though. How many of you find Excel's built in date/time system to be useful? How many find it to be too confusing to bother with? What makes it useful and what makes it confusing?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  2. #2
    Registered User
    Join Date
    10-02-2014
    Location
    Sylmar, Ca
    MS-Off Ver
    2011
    Posts
    44

    Re: Is Excel's built in calendar/date/time system useful??

    I personally find it annoying, i work with large databases and at a quick glance some like an entry of 1560 from a text file looks correct but later down the file i see it's been converted to a date. When I set the column back to text before or after the import, it is still messed up. I think it would be a lot better of an excel date was treated as a unique integer like 1/1/1901 would be stored as m01d01y1901. This way when I entered 111901 in a table and it got converted to some date I could just convert it back. We are really only talking about 365 days * say 200 years max values. In calculations the date is also annoying. I can't just simply find the number of days, or months or years between two dates. I can't tell it Howmanyhrs(12/21/2014,12,22,2014). Anyways, that my input

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Is Excel's built in calendar/date/time system useful??

    I think it's straightforward, easy to work with, and makes perfect sense.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Is Excel's built in calendar/date/time system useful??

    I dont really have a problem using it, but when the question gets involved (working WD OT, WD DT, WE OT and WE DT) things can get messy - but not unmanageble
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Re: Is Excel's built in calendar/date/time system useful??

    I think it would be a lot better of an excel date was treated as a unique integer like 1/1/1901 would be stored as m01d01y1901.
    If you study how Excel stores dates, you will find that it does store dates as unique integers. http://www.cpearson.com/excel/datetime.htm Specifically, a date serial represents the number of days since 0 Jan, 1900. It may not be the exact same integer you had in mind, but it is a fairly well defined integer.

    I can't just simply find the number of days, or months or years between two dates. I can't tell it Howmanyhrs(12/21/2014,12,22,2014).
    As shg and FDibbins imply, it should be relatively easy to subtract two date/time serial numbers to get how many days (or hours or weeks) are in between those two date/time serial numbers. I think part of my question -- why is it so hard for some to use? Is it a lack of good documentation? Educational materials fail to explain it adequately? Is the concept of "decimal days since" a given starting date difficult for some to grasp?

  6. #6
    Registered User
    Join Date
    10-02-2014
    Location
    Sylmar, Ca
    MS-Off Ver
    2011
    Posts
    44

    Re: Is Excel's built in calendar/date/time system useful??

    Quote Originally Posted by MrShorty View Post
    If you study how Excel stores dates, you will find that it does store dates as unique integers. http://www.cpearson.com/excel/datetime.htm Specifically, a date serial represents the number of days since 0 Jan, 1900. It may not be the exact same integer you had in mind, but it is a fairly well defined integer.

    As shg and FDibbins imply, it should be relatively easy to subtract two date/time serial numbers to get how many days (or hours or weeks) are in between those two date/time serial numbers. I think part of my question -- why is it so hard for some to use? Is it a lack of good documentation? Educational materials fail to explain it adequately? Is the concept of "decimal days since" a given starting date difficult for some to grasp?
    I think the problem is that is isn't as intuitive as say subtracting two number. Most of us do regular mathematics often so we are familiar with it but most of us don't find the hours between 2 time periods that often

  7. #7
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Re: Is Excel's built in calendar/date/time system useful??

    Is that it -- the built in calendar just isn't used often enough for people to become comfortable or proficient in its use?

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Is Excel's built in calendar/date/time system useful??

    Quote Originally Posted by JDI View Post
    I think the problem is that is isn't as intuitive as say subtracting two number.
    I beg to differ. Dates are just integers to Excel. That's precisely what makes it useful. It's only not intuitive if you think of dates as a combination of the three elements of days months and years. Once you stop thinking in those terms (other than for formatting purposes) and mentally accept that a date IS a number it seems to me that it's extremely intuitive.

    YMMV

    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  9. #9
    Forum Contributor
    Join Date
    10-04-2014
    Location
    Europe
    MS-Off Ver
    2007
    Posts
    107

    Re: Is Excel's built in calendar/date/time system useful??

    First, if we start with the idea that most people won’t/don’t spend a lot of time reading instruction literature and combine that idea with the philosophy that “if you want to test a system then get a novice (idiot) to use it” I suspect an analysis of date/time forum questions would reveal some common threads (issues).

    As for my experiences;
    I recently decided to explore some of Excels functions and because I needed a project I (like so many before me) tried making a roster. Speaking as a complete novice I can report that I had some significant problems with the time-date functions.

    But why?
    I think the issues are simply that novice Excel users really have no idea where to start and that Excel date time functions are not intuitive, even formulating a useful language (e.g. a google search question) isn’t always a simple task. People look at dates/times, see a date displayed and have a problem with the fact that what is displayed isn’t what is used.
    E.g. I recall questions that went something like,”…this is silly, Excel is putting the [hours and mins] time there so the program must have some way to work with the format, why can’t I work with it [the format]…”. Also, what about negative time? Why did I have to change my excel start date just to be able to represent negative time?

    There is another example in a recent forum question titled “Issue With Displaying a Date a Certain Way”?
    I saw the question and (as I often try) I had a look to see if I could come close to a solution. Working from my beginners view, my first thought was, why can’t I do that with a formatting option? For example, surely all I need to do is go to Format Cells>Number>Custom and enter something like the following; DDDD "the" DD"st". My thinking was that surely Excel has a mechanism to allow that kind of approach (well is seemed like a good idea at the time )
    The actual solution that was quickly provided by one of the forums hard working talents was;
    =TEXT(TODAY();"DDDD ")&"the "&DAY(TODAY())&LOOKUP(DAY(TODAY());{1;2;3;4;21;22;23;24;31};{"st";"nd";"rd";"th";"st";"nd";"rd";"th";"st"})&" of "&TEXT(TODAY();"MMMM")

    This solution works but I think a beginner is unlikely to be searching for this type of solution to what (intuitively) appears to be a simple and obvious task. That is, how likely is it a beginner/novice would come up with this solution without a significant amount of time/work (which brings us back to my opening lines ).

    Regards.

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Is Excel's built in calendar/date/time system useful??

    I think part of my question -- why is it so hard for some to use? Is it a lack of good documentation?
    From my experience, many users just simply do not understand the basic concept behind how excel displays (and works with) dates and times. For those reading this that can relate to that comment, here is an explanation I have used so often that I have a "canned reply" for it.....
    You need to understand this about dates...a date is just a number indicating how many days have passed since 1/1/1900, so today 7/11/14 is actually 41831. excel formats it into something that we recognise as a date

    Likewise with time...time is a decimal of 1 (day), so for instance 06:00 AM is actualy just 0.25, 12 noon is 0.5 and 06:00 PM (18:00) is 0.75. Again, excel formats it to something we see as a time
    The flip-side to this mis-understanding, gets compounded when a user subtracts 2 dates (1/31/14-1/1/14) and, depending on the format where the answer will be, may see either 30 or 1/30/1900.
    Likewise 1/1/14+30 could, again depending on the formula cell formatting, give 1/31/14 OR 41670...41670 is a date?????? what have you been smoking?? lol

    An inexperienced user seeing 1/30/1900 or 41670 will quite naturally assume that either excel has bonkers or they have done something wrong.
    Add into this mix, the fact that often, what looks like a date, is in fact, text that just looks like a date, and you end up with some totaly confuzzled users

    Another mis-conception that I see is that just by formatting a "text" date, you can change it to something else. Again, some users do not understand that, for the most part, formatting is simply cosmetic - it changes how cell contents look (if it can), but does not change the actuall cell contents.
    In my example above, changing cell contents from date to general, will change 1/31/14 to 41670, but a user that is not familiar with how dates work, will be left grasping at their sanity

    We have the same (but maybe worse) situation with time.

    06:00 AM + 1 should give you 07:00 Am, right? wrong, it seems to make no difference at all - what gives??? Sounds pretty logical, until you understand that 06:00 is in reality 0.25 to excel or 1/4 of a day. So adding 1 (a whole 1) to 06:00 (or 1/4 or 0.25), just added 1.00 to 0.25, sooooooo you still end up with 06:00 AM....but on the next day. Because teh cell is probably formatted as time, you wont see the extra day that was added, so it looks like excel cant add

    And as if that wasnt confuddling enough, excel doesnt understand (or wont accept) negative time...unless you use a bit of trickery to get around that

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Reduce Day Count in Excel based on System Time and Date
    By kittu55 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-05-2013, 10:24 AM
  2. using Calendar form to store a date changes my system date/time
    By mslynng in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-16-2009, 02:08 PM
  3. Convert Julian Date/Time (ddd.tttttt) to Calendar Date/Time
    By LindseyW in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-12-2009, 09:30 PM
  4. Calendar Control Changing System Date
    By rob_parkhill in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-22-2006, 04:35 PM
  5. system time and date
    By kdp145 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-21-2006, 12:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1