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

    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
              • M Michael Schubert

                keefb wrote:

                I think we should just use ticks.

                Or stardates.

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

                Michael Schubert wrote:

                Or stardates.

                I've dated stars. It ain't what it's cut out to be.

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

                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
                  Mark_Wallace
                  wrote on last edited by
                  #84

                  Chris Maunder wrote:

                  the locals never get confused!

                  I keep wondering what happened on 9th November.

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

                  1 Reply Last reply
                  0
                  • L Lost User

                    keefb wrote:

                    Or four Gills.

                    Hence drinking like a fish? :rolleyes:

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

                    B Offline
                    B Offline
                    Brady Kelly
                    wrote on last edited by
                    #85

                    Fish don't drink a lot. They don't have to.

                    S 1 Reply Last reply
                    0
                    • D Dario Solera

                      And pints! What the hell is a pint? :-D

                      If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki v3

                      V Offline
                      V Offline
                      V 0
                      wrote on last edited by
                      #86

                      Well in fact a belgian will understand that as it means a (normal) beer, be it that we use 25cl glasses.

                      V.
                      Stop smoking so you can: Enjoy longer the money you save. Moviereview Archive

                      1 Reply Last reply
                      0
                      • H hairy_hats

                        I read a while ago that while driving on the wrong side, that to begin with your chance of having a crash is less because you are concentrating a lot, it's only later when you relax a bit that you risk letting your normal reflexes take over and go to your usual side.

                        I hope you realise that hamsters are very creative when it comes to revenge. - Elaine

                        V Offline
                        V Offline
                        V 0
                        wrote on last edited by
                        #87

                        I can vouch for that... (luckily without accidents ;-))

                        V.
                        Stop smoking so you can: Enjoy longer the money you save. Moviereview Archive

                        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
                          Russell Jones
                          wrote on last edited by
                          #88

                          And even when they use imperial measurements they feel the need to balls the thing up by having different versions of the gallon. Next up they'll be redefining a chain as the distance between two bases on a rounders pitch.

                          1 Reply Last reply
                          0
                          • D Dalek Dave

                            Actually it is the safer side. Human brains have a tendency to turn left to avoid a crash, (this is standard in aviation), and in UK this means going up the embankment or hitting a wall. In the US this means crossing into the oncoming traffic, very nasty. And this is not Nationalistic BS...many studies will show this, also there is a five out of six chance you are right handed, and where better to keep you dominant hand than on the wheel. Samoa recently changed from right to left.

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

                            W Offline
                            W Offline
                            Wjousts
                            wrote on last edited by
                            #89

                            Dalek Dave wrote:

                            And this is not Nationalistic BS...many studies will show this

                            Citation needed

                            Dalek Dave wrote:

                            Samoa recently changed from right to left.

                            Only so they could import cheaper cars from Australia instead of shipping them from the US. Also, it caused major problems with buses that have doors that now open into oncoming traffic :wtf:

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

                              W Offline
                              W Offline
                              Wjousts
                              wrote on last edited by
                              #90

                              keefb wrote:

                              figure out who you were trying to gain Independance from in the War of Independance

                              So rich white guys wouldn't have to pay taxes? A trend that continues to this day.

                              1 Reply Last reply
                              0
                              • A Abu Mami

                                and Chuck Norris is 5' 10"

                                R Offline
                                R Offline
                                realJSOP
                                wrote on last edited by
                                #91

                                Apparently, in Europe, you'd have to say that backwards - 10" 5'. And they still measure weight with stones over there.

                                .45 ACP - because shooting twice is just silly
                                -----
                                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                -----
                                "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                                M P 2 Replies 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.

                                  OriginalGriffO Offline
                                  OriginalGriffO Offline
                                  OriginalGriff
                                  wrote on last edited by
                                  #92

                                  Rage wrote:

                                  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

                                  Reluctantly, I have to disagree: inches are more precise! Don't believe me? Look at a normal ruler - metric scale is per millimeter, imperial scale is normally per 1/32nd of an inch (some are 1/64th). Since there are 25.4 millimeters to the inch, the imperial scale is clearly more accurate! Ducks for cover!

                                  No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

                                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                  "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                  D 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

                                    K Offline
                                    K Offline
                                    kinar
                                    wrote on last edited by
                                    #93

                                    as someone else has stated, I personally prefer 10/20/2009 because thats the way I say it in casual conversation "October Twentieth". I don't say "Twentieth of October" very frequently if at all. However, from a programming point of view (and the way I ALWAYS do dates if it is up to me), the form 2009/10/20 makes the most sense. Or usually when programming I leave out the separators so that it is in the format CCYYMMDD. I use this format because sorting by date actually works.

                                    P 1 Reply Last reply
                                    0
                                    • R realJSOP

                                      Apparently, in Europe, you'd have to say that backwards - 10" 5'. And they still measure weight with stones over there.

                                      .45 ACP - because shooting twice is just silly
                                      -----
                                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                      -----
                                      "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

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

                                      John Simmons / outlaw programmer wrote:

                                      And they still measure weight with stones over there.

                                      Only the Brits and the Irish, as far as I know.

                                      1 Reply Last reply
                                      0
                                      • R realJSOP

                                        Apparently, in Europe, you'd have to say that backwards - 10" 5'. And they still measure weight with stones over there.

                                        .45 ACP - because shooting twice is just silly
                                        -----
                                        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                        -----
                                        "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                                        P Offline
                                        P Offline
                                        PIEBALDconsult
                                        wrote on last edited by
                                        #95

                                        Otherwise they have no stones. :-D

                                        1 Reply Last reply
                                        0
                                        • K kinar

                                          as someone else has stated, I personally prefer 10/20/2009 because thats the way I say it in casual conversation "October Twentieth". I don't say "Twentieth of October" very frequently if at all. However, from a programming point of view (and the way I ALWAYS do dates if it is up to me), the form 2009/10/20 makes the most sense. Or usually when programming I leave out the separators so that it is in the format CCYYMMDD. I use this format because sorting by date actually works.

                                          P Offline
                                          P Offline
                                          PIEBALDconsult
                                          wrote on last edited by
                                          #96

                                          There is no need to say and write it the same way.

                                          K 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