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.
  • 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
                  • 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

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

                    Mike Mullikin wrote:

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

                    It also contributes to the welfare of the programming community. Now developers around the world can bill 2 man days to write a complex British-to-American date converter framework, including full suppport for leap years! :rolleyes:

                    Regards, Nish


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

                    1 Reply Last reply
                    0
                    • N Nish Nishant

                      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 Offline
                      K Offline
                      Keith Barrow
                      wrote on last edited by
                      #72

                      I'm still struggling from the changes in gradient signs. A gradient of 1 in 7 is easy to visualise, but 14% ? I blame the French, but then I'm English.

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

                      L 1 Reply Last reply
                      0
                      • K Keith Barrow

                        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 Offline
                        N Offline
                        Nish Nishant
                        wrote on last edited by
                        #73

                        keefb wrote:

                        and then realise why you are all speaking English.

                        Not every day that someone from the UK acknowledges that the language spoken here is "English" :-)

                        Regards, Nish


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

                        K 1 Reply Last reply
                        0
                        • N Nish Nishant

                          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

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

                          Nishant Sivakumar wrote:

                          Clearly KMPH is superior to MPH

                          No, it's just a different unit of measurement.

                          Nishant Sivakumar wrote:

                          What do you guys use for temperature? F or C?

                          Mostly Celsius these days, although weathermen/women often quote the equivalent Fahrenheit figure as well.

                          1 Reply Last reply
                          0
                          • K Keith Barrow

                            I'm still struggling from the changes in gradient signs. A gradient of 1 in 7 is easy to visualise, but 14% ? I blame the French, but then I'm English.

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

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

                            keefb wrote:

                            I blame the French, but then I'm English.

                            Actually, I think it was Ted Heath rather than the French.

                            1 Reply Last reply
                            0
                            • N Nish Nishant

                              keefb wrote:

                              and then realise why you are all speaking English.

                              Not every day that someone from the UK acknowledges that the language spoken here is "English" :-)

                              Regards, Nish


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

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

                              Actually, I meant the Americans, rather than posters on CP. The English use "Bl**dy Colonials" to refer to Americans, especially when we are shocked/appalled/dismayed/joking about the antics/attitiudes of our cousins from across the pond.

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

                              1 Reply Last reply
                              0
                              • N Nish Nishant

                                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 Offline
                                K Offline
                                Keith Barrow
                                wrote on last edited by
                                #77

                                Kelvin.

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

                                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

                                  R Offline
                                  R Offline
                                  Richard Jones
                                  wrote on last edited by
                                  #78

                                  I agree their reasoning is the way it's spoken (by them). However, for clarity, YYYY-MM-DD sould always be used in applications. 1) no confusion. 2) ease of sorting by date. 3) would have prevented that !@#$% SQL Query "rewrite the query with wrong date format" bug.

                                  "The activity of 'debugging', or removing bugs from a program, ends when people get tired of doing it, not when the bugs are removed." - "Datamation", January 15, 1984

                                  1 Reply Last reply
                                  0
                                  • K Keith Barrow

                                    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!)

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

                                    Relax Gladys! By "imperial progeny" I was referring to the ones who still "recognize" your "royalty" (ie. Australia, Canada, etc...)

                                    keefb wrote:

                                    trying to gain Independance from

                                    Errr... I'm pretty sure we succeeded. :cool:

                                    1 Reply Last reply
                                    0
                                    • R Rage

                                      That's sort of asking for a flame war, eh eh. But, well, let's go: Writing MM-DD-YYYY is about as silly as still using inches, feet and whatever clumsy measurement units while everybody else with a bit of common sense in the world use the metric system.

                                      R Offline
                                      R Offline
                                      Rob Smiley
                                      wrote on last edited by
                                      #80

                                      Why do we buy petrol in litres & measure its consumption in gallons? There must be loads of other instances where we measure the same thing using two different units based on the context...

                                      "An eye for an eye only ends up making the whole world blind"

                                      1 Reply Last reply
                                      0
                                      • H Hans Dietrich

                                        To say nothing about driving on the wrong side. What's with that? Isn't that a bit extreme, even if you don't want to do what the French do? :)

                                        Best wishes, Hans


                                        [Hans Dietrich Software]

                                        M Offline
                                        M Offline
                                        Mark_Wallace
                                        wrote on last edited by
                                        #81

                                        We drive on the left side, you drive on the wrong side. The only reason mainland Europe ended up driving on the right was that England instituted the laws first, and France wanted to do whatever we didn't do.

                                        I wanna be a eunuchs developer! Pass me a bread knife!

                                        1 Reply Last reply
                                        0
                                        • R Rage

                                          That's sort of asking for a flame war, eh eh. But, well, let's go: Writing MM-DD-YYYY is about as silly as still using inches, feet and whatever clumsy measurement units while everybody else with a bit of common sense in the world use the metric system.

                                          M Offline
                                          M Offline
                                          Mark_Wallace
                                          wrote on last edited by
                                          #82

                                          When measuring timber/wood, I use either mm or inches -- depending on which one has a line precisely where the piece of wood ends. If I'm stuck with a tape that has only mm, I work to the quarter millimetre; tapes with inches have 32nds and 64ths, which are usually preferable.

                                          I wanna be a eunuchs developer! Pass me a bread knife!

                                          1 Reply 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