Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Dates

Dates

Scheduled Pinned Locked Moved The Lounge
111 Posts 41 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Keith Barrow

    Or half a Quart! Or four Gills. Really, people should be intelligent enough to work out unit measurements.

    CCC solved so far: 2 (including a Hard One!)

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #51

    keefb wrote:

    Or four Gills.

    Hence drinking like a fish? :rolleyes:

    Visit http://www.notreadytogiveup.com/[^] and do something special today.

    B 1 Reply Last reply
    0
    • S Simon P Stevens

      So today is 20th of October 2009. In UK format that is 20/10/2009. Kinda makes sense right, smallest to biggest. Logical. In US format it's 10/20/2009. Now to me that's totally illogical. Why would you do that. Can any Americans explain to me why this makes sense. (lets try to forget about patriotism). I don't understand why it would ever be useful to break the logical order. It's like writing the time in HH:SS:MM. [As a developer I obviously recognise that the superior format is neither of the above but is in fact YYYY-MM-DD as it maintains correct sort order and digit significance]

      Simon

      C Offline
      C Offline
      Corporal Agarn
      wrote on last edited by
      #52

      I agree with the yyyy-mm-dd as most of the time sort order is a pain and with Microsoft helping it really gets interesting. With the year first it would make life easier

      1 Reply Last reply
      0
      • D Dalek Dave

        I was hoping you would say something like 5' 11" so that I could reply with a bit of scorn at your sticking with metrics, but you confounded me! :)

        ------------------------------------ To eat well in England, you should have a breakfast three times a day. W. Somerset Maugham 1925

        S Offline
        S Offline
        Simon P Stevens
        wrote on last edited by
        #53

        Dalek Dave wrote:

        so that I could reply with a bit of scorn

        I suspected as much :laugh: I do genuinely use metrics for height and weight. I'm 80kg, but for some reason I have no idea how tall I am, I'd guess around 1.8m. Probably because we have scales in the bathroom, so I step on them every now and again, but we don't have a tape measure hung on the wall.

        Simon

        1 Reply Last reply
        0
        • M Michael Schubert

          Simon Stevens wrote:

          [As a developer I obviously recognise that the superior format is neither of the above but is in fact YYYY-MM-DD as it maintains correct sort order and digit significance]

          Arabic developers might see that differently...

          S Offline
          S Offline
          Simon P Stevens
          wrote on last edited by
          #54

          Interesting. I assume you are referring to the right-to-left writing of their language. I would expect a format entered in as yyyy-mm-dd would appear as "dd-mm-yyyy" in the RTL environment, and I would expect the sorting algorithm to adhere to the RTL option when considering digit significance, so I would expect it still to work correctly. Obviously I have no real idea what I am talking about so please ignore me.

          Simon

          M K 2 Replies Last reply
          0
          • S Simon P Stevens

            So today is 20th of October 2009. In UK format that is 20/10/2009. Kinda makes sense right, smallest to biggest. Logical. In US format it's 10/20/2009. Now to me that's totally illogical. Why would you do that. Can any Americans explain to me why this makes sense. (lets try to forget about patriotism). I don't understand why it would ever be useful to break the logical order. It's like writing the time in HH:SS:MM. [As a developer I obviously recognise that the superior format is neither of the above but is in fact YYYY-MM-DD as it maintains correct sort order and digit significance]

            Simon

            R Offline
            R Offline
            R Giskard Reventlov
            wrote on last edited by
            #55

            If memory serves the US Navy uses dd-mm-yyyy (I will happily sit corrected).

            me, me, me

            D 1 Reply Last reply
            0
            • S Simon P Stevens

              Interesting. I assume you are referring to the right-to-left writing of their language. I would expect a format entered in as yyyy-mm-dd would appear as "dd-mm-yyyy" in the RTL environment, and I would expect the sorting algorithm to adhere to the RTL option when considering digit significance, so I would expect it still to work correctly. Obviously I have no real idea what I am talking about so please ignore me.

              Simon

              M Offline
              M Offline
              Michael Schubert
              wrote on last edited by
              #56

              Simon Stevens wrote:

              Obviously I have no real idea what I am talking about so please ignore me.

              I don't know much about RTL either. It just occurred to me that there may be implications with the date format. Too lazy to google now...

              1 Reply Last reply
              0
              • M merridus

                Ed.Poore wrote:

                I almost wish I was going just to see how they cope with the driving...

                And just slip in on Sunday evening, "Oh me? Yeah I have experience driving vehicles like this. Why? did you want me to drive?"

                - Rob

                E Offline
                E Offline
                Ed Poore
                wrote on last edited by
                #57

                They know I have the experience, in fact they've asked for advice on how to drive it. The way things work is a first-come first-served basis. I was meant to be running a shoot back at home that weekend but there were so many applying for the trip they asked if I was free. I said I could make myself free if absolutely required (thus driving either the minibuses or the LR). So was added to the list, then they decided to cap the number of people going so they had others who'd replied first who "could" drive the LR so I went back to my original plan of hosting the shoot. Then they say yesterday that I'm on the trip and could I help with the LR. Tough luck mates. I'll stick with my 25 year old LR this weekend, better not change the plans yet again...


                I doubt it. If it isn't intuitive then we need to fix it. - Chris Maunder

                1 Reply Last reply
                0
                • S Simon P Stevens

                  So today is 20th of October 2009. In UK format that is 20/10/2009. Kinda makes sense right, smallest to biggest. Logical. In US format it's 10/20/2009. Now to me that's totally illogical. Why would you do that. Can any Americans explain to me why this makes sense. (lets try to forget about patriotism). I don't understand why it would ever be useful to break the logical order. It's like writing the time in HH:SS:MM. [As a developer I obviously recognise that the superior format is neither of the above but is in fact YYYY-MM-DD as it maintains correct sort order and digit significance]

                  Simon

                  C Offline
                  C Offline
                  Chris Maunder
                  wrote on last edited by
                  #58

                  You should try living in Canada where officially it's dd/mm/yy, but practically, because of that country next door, it's sometimes mm/dd/yy. Yet the locals never get confused! I, on the other hand, have no idea. None. And don't get me started about their "Best Before" dates on food. They only use 2 letters for months, so you can have 11JU09. Is that June or July? Are you feeling lucky, punk?

                  cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP

                  M C M 3 Replies Last reply
                  0
                  • S Simon P Stevens

                    So today is 20th of October 2009. In UK format that is 20/10/2009. Kinda makes sense right, smallest to biggest. Logical. In US format it's 10/20/2009. Now to me that's totally illogical. Why would you do that. Can any Americans explain to me why this makes sense. (lets try to forget about patriotism). I don't understand why it would ever be useful to break the logical order. It's like writing the time in HH:SS:MM. [As a developer I obviously recognise that the superior format is neither of the above but is in fact YYYY-MM-DD as it maintains correct sort order and digit significance]

                    Simon

                    N Offline
                    N Offline
                    Nish Nishant
                    wrote on last edited by
                    #59

                    Simon, In the UK, for speed limits you still use mph, right? Or have you changed to kmph now?

                    Regards, Nish


                    Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                    My latest book : C++/CLI in Action / Amazon.com link

                    L 1 Reply Last reply
                    0
                    • C Chris Maunder

                      You should try living in Canada where officially it's dd/mm/yy, but practically, because of that country next door, it's sometimes mm/dd/yy. Yet the locals never get confused! I, on the other hand, have no idea. None. And don't get me started about their "Best Before" dates on food. They only use 2 letters for months, so you can have 11JU09. Is that June or July? Are you feeling lucky, punk?

                      cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP

                      M Offline
                      M Offline
                      Michael Schubert
                      wrote on last edited by
                      #60

                      Chris Maunder wrote:

                      They only use 2 letters for months, so you can have 11JU09

                      That's incredible.

                      1 Reply Last reply
                      0
                      • L Lost User

                        A hat size in Texas.

                        H Offline
                        H Offline
                        Henry Minute
                        wrote on last edited by
                        #61

                        Only if you have a very small head! I have only previously heard of a 10 Gallon Hat.

                        Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

                        1 Reply Last reply
                        0
                        • S Simon P Stevens

                          Interesting. I assume you are referring to the right-to-left writing of their language. I would expect a format entered in as yyyy-mm-dd would appear as "dd-mm-yyyy" in the RTL environment, and I would expect the sorting algorithm to adhere to the RTL option when considering digit significance, so I would expect it still to work correctly. Obviously I have no real idea what I am talking about so please ignore me.

                          Simon

                          K Offline
                          K Offline
                          Keith Barrow
                          wrote on last edited by
                          #62

                          I speak a little Arabic. Numbers in Arabic are written like ours left-to-right , even when "Arabic arabic" numerals are used and all the other writing is left to right. The effect when you read it inline is weird as you have to reverse direction whilst reading, like this: The value of PI 395141.3 to six decimal places.

                          CCC solved so far: 2 (including a Hard One!)

                          1 Reply Last reply
                          0
                          • N Nish Nishant

                            Simon, In the UK, for speed limits you still use mph, right? Or have you changed to kmph now?

                            Regards, Nish


                            Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                            My latest book : C++/CLI in Action / Amazon.com link

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #63

                            Nishant Sivakumar wrote:

                            In the UK, for speed limits you still use mph

                            MPH obviously, why would we want to use some foreign measurement that nobody understands? ;)

                            N 1 Reply Last reply
                            0
                            • L Lost User

                              Nishant Sivakumar wrote:

                              In the UK, for speed limits you still use mph

                              MPH obviously, why would we want to use some foreign measurement that nobody understands? ;)

                              N Offline
                              N Offline
                              Nish Nishant
                              wrote on last edited by
                              #64

                              Richard MacCutchan wrote:

                              MPH obviously, why would we want to use some foreign measurement that nobody understands?

                              :-) Wouldn't this same thought process apply to mm-dd-yyyy too? Everyone here understands it, so why change it!

                              Regards, Nish


                              Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                              My latest book : C++/CLI in Action / Amazon.com link

                              L 1 Reply Last reply
                              0
                              • S Simon P Stevens

                                So today is 20th of October 2009. In UK format that is 20/10/2009. Kinda makes sense right, smallest to biggest. Logical. In US format it's 10/20/2009. Now to me that's totally illogical. Why would you do that. Can any Americans explain to me why this makes sense. (lets try to forget about patriotism). I don't understand why it would ever be useful to break the logical order. It's like writing the time in HH:SS:MM. [As a developer I obviously recognise that the superior format is neither of the above but is in fact YYYY-MM-DD as it maintains correct sort order and digit significance]

                                Simon

                                L Offline
                                L Offline
                                Lost User
                                wrote on last edited by
                                #65

                                Simon Stevens wrote:

                                Can any Americans explain to me why this makes sense.

                                Actually we do it just to screw with the Brits (and their imperial progeny). Seems to work too. ;P

                                K N 2 Replies Last reply
                                0
                                • N Nish Nishant

                                  Richard MacCutchan wrote:

                                  MPH obviously, why would we want to use some foreign measurement that nobody understands?

                                  :-) Wouldn't this same thought process apply to mm-dd-yyyy too? Everyone here understands it, so why change it!

                                  Regards, Nish


                                  Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                                  My latest book : C++/CLI in Action / Amazon.com link

                                  L Offline
                                  L Offline
                                  Lost User
                                  wrote on last edited by
                                  #66

                                  Nishant Sivakumar wrote:

                                  Wouldn't this same thought process apply to mm-dd-yyyy too? Everyone here understands it, so why change it!

                                  :confused: we use dd/mm/yyyy in the UK.

                                  N 1 Reply Last reply
                                  0
                                  • R R Giskard Reventlov

                                    If memory serves the US Navy uses dd-mm-yyyy (I will happily sit corrected).

                                    me, me, me

                                    D Offline
                                    D Offline
                                    Dan Neely
                                    wrote on last edited by
                                    #67

                                    The one navy format I'm familiar with makes all the other formats we've been arguing about seem brilliant. DDHHMMZ MMM YY which turns this 7/5/2005 9:20:22 AM into this 050920Z JUL 05 :omg: :wtf: crappy cite but I don't feel like finding a nicer one.[^]

                                    The latest nation. Procrastination.

                                    1 Reply Last reply
                                    0
                                    • C Chris Maunder

                                      You should try living in Canada where officially it's dd/mm/yy, but practically, because of that country next door, it's sometimes mm/dd/yy. Yet the locals never get confused! I, on the other hand, have no idea. None. And don't get me started about their "Best Before" dates on food. They only use 2 letters for months, so you can have 11JU09. Is that June or July? Are you feeling lucky, punk?

                                      cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP

                                      C Offline
                                      C Offline
                                      Chris Meech
                                      wrote on last edited by
                                      #68

                                      We only put "Best Before Dates" on food products for foreigners. And the dates are the result of a random number generator anyway, so why even bother with reading them, let alone to consider them to have some practical meaning. There's nothing like sour cream that you bought six months ago piled high on a baked potato. :)

                                      Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

                                      1 Reply Last reply
                                      0
                                      • L Lost User

                                        Nishant Sivakumar wrote:

                                        Wouldn't this same thought process apply to mm-dd-yyyy too? Everyone here understands it, so why change it!

                                        :confused: we use dd/mm/yyyy in the UK.

                                        N Offline
                                        N Offline
                                        Nish Nishant
                                        wrote on last edited by
                                        #69

                                        Richard MacCutchan wrote:

                                        we use dd/mm/yyyy in the UK.

                                        I know, and the OP was asking my Americans use MM-DD-YYYY. The reason is same as why you guys use MPH :-) Clearly KMPH is superior to MPH, but you use a system you are familiar with. And while dd-mm-yyyy is a tad better than mm-dd-yyyy, yyyy-mm-dd is clearly superior to both - yet both in the UK and US, people use formats they are familiar with. What do you guys use for temperature? F or C?

                                        Regards, Nish


                                        Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                                        My latest book : C++/CLI in Action / Amazon.com link

                                        K L 3 Replies Last reply
                                        0
                                        • L Lost User

                                          Simon Stevens wrote:

                                          Can any Americans explain to me why this makes sense.

                                          Actually we do it just to screw with the Brits (and their imperial progeny). Seems to work too. ;P

                                          K Offline
                                          K Offline
                                          Keith Barrow
                                          wrote on last edited by
                                          #70

                                          Mike Mullikin wrote:

                                          imperial progeny

                                          I suggest you read your own history, figure out who you were trying to gain Independance from in the War of Independance (which by the way, at the time was considered a civil war) and then realise why you are all speaking English. Bl**dy colonials :-)

                                          CCC solved so far: 2 (including a Hard One!)

                                          N L W 3 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups