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. Super pi days

Super pi days

Scheduled Pinned Locked Moved The Lounge
28 Posts 19 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.
  • S Steve Mayfield

    In just a few years we will have: 3/14/15 9:26:53.58 and 16 years later: 31/4/15 9:26:53.58 - which in the US will also be Income Taxes due Day X|

    Steve _________________ I C(++) therefore I am

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

    Steve Mayfield wrote:

    3/14/15

    Steve Mayfield wrote:

    16 years later: 31/4/15

    OK, US dates with their ridiculous ordering of units has always done my head in, but I now offocially give up. How is 14 Mar 2015 (or is that 3 (Jan++)++ 2015?) 16 years behind 31 Apr 2015? Oh, you mean 15 Apr 2031? :doh: This is why is should be a flogging offense not not have dates formatted unambigously. small->large, or (full digits) large -> small, or dd MMM yyyy is even better.

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

    S A S N T 6 Replies Last reply
    0
    • C Chris Maunder

      Steve Mayfield wrote:

      3/14/15

      Steve Mayfield wrote:

      16 years later: 31/4/15

      OK, US dates with their ridiculous ordering of units has always done my head in, but I now offocially give up. How is 14 Mar 2015 (or is that 3 (Jan++)++ 2015?) 16 years behind 31 Apr 2015? Oh, you mean 15 Apr 2031? :doh: This is why is should be a flogging offense not not have dates formatted unambigously. small->large, or (full digits) large -> small, or dd MMM yyyy is even better.

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

      S Offline
      S Offline
      Steve Mayfield
      wrote on last edited by
      #6

      Yes, yyyymmdd is the easiest to sort (date treated as an integer number) and mmddyyyy or ddmmyyyy is much more difficult :sigh: - In a Genealogy course I took in college we were told to write dates at dd-MMM-yyyy so there is no ambiguity :thumbsup: ... but then us Math guys are notorious for fiddling with the digits to get the desired results ;)

      Steve _________________ I C(++) therefore I am

      C J 2 Replies Last reply
      0
      • C Chris Maunder

        Steve Mayfield wrote:

        3/14/15

        Steve Mayfield wrote:

        16 years later: 31/4/15

        OK, US dates with their ridiculous ordering of units has always done my head in, but I now offocially give up. How is 14 Mar 2015 (or is that 3 (Jan++)++ 2015?) 16 years behind 31 Apr 2015? Oh, you mean 15 Apr 2031? :doh: This is why is should be a flogging offense not not have dates formatted unambigously. small->large, or (full digits) large -> small, or dd MMM yyyy is even better.

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

        A Offline
        A Offline
        AspDotNetDev
        wrote on last edited by
        #7

        Chris Maunder wrote:

        This is why is should be a flogging offense not not have

        Congratulations on a new entry into the Maunder Dictionary. :)

        Thou mewling ill-breeding pignut!

        1 Reply Last reply
        0
        • C Chris Maunder

          Steve Mayfield wrote:

          3/14/15

          Steve Mayfield wrote:

          16 years later: 31/4/15

          OK, US dates with their ridiculous ordering of units has always done my head in, but I now offocially give up. How is 14 Mar 2015 (or is that 3 (Jan++)++ 2015?) 16 years behind 31 Apr 2015? Oh, you mean 15 Apr 2031? :doh: This is why is should be a flogging offense not not have dates formatted unambigously. small->large, or (full digits) large -> small, or dd MMM yyyy is even better.

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

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

          Chris Maunder wrote:

          How is 14 Mar 2015 (or is that 3 (Jan++)++ 2015?) 16 years behind 31 Apr 2015?

          Not to say that April does not have a 31st day.

          Regards, Nish


          My technology blog: voidnish.wordpress.com

          C 1 Reply Last reply
          0
          • C Chris Maunder

            Steve Mayfield wrote:

            3/14/15

            Steve Mayfield wrote:

            16 years later: 31/4/15

            OK, US dates with their ridiculous ordering of units has always done my head in, but I now offocially give up. How is 14 Mar 2015 (or is that 3 (Jan++)++ 2015?) 16 years behind 31 Apr 2015? Oh, you mean 15 Apr 2031? :doh: This is why is should be a flogging offense not not have dates formatted unambigously. small->large, or (full digits) large -> small, or dd MMM yyyy is even better.

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

            S Offline
            S Offline
            Single Step Debugger
            wrote on last edited by
            #9

            I wonder why we just not count the days, how difficult it may be? For example today is 734456 AD. And of course the negative numbers will represent BC.

            There is only one Vera Farmiga and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

            A A P 3 Replies Last reply
            0
            • S Single Step Debugger

              I wonder why we just not count the days, how difficult it may be? For example today is 734456 AD. And of course the negative numbers will represent BC.

              There is only one Vera Farmiga and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

              A Offline
              A Offline
              Andrew Rissing
              wrote on last edited by
              #10

              Or do it like StarTrek. "Stardate - 2012.20738"

              1 Reply Last reply
              0
              • C Chris Maunder

                Steve Mayfield wrote:

                3/14/15

                Steve Mayfield wrote:

                16 years later: 31/4/15

                OK, US dates with their ridiculous ordering of units has always done my head in, but I now offocially give up. How is 14 Mar 2015 (or is that 3 (Jan++)++ 2015?) 16 years behind 31 Apr 2015? Oh, you mean 15 Apr 2031? :doh: This is why is should be a flogging offense not not have dates formatted unambigously. small->large, or (full digits) large -> small, or dd MMM yyyy is even better.

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

                T Offline
                T Offline
                thrakazog
                wrote on last edited by
                #11

                Chris Maunder wrote:

                How is 14 Mar 2015 (or is that 3 (Jan++)++ 2015?) 16 years behind 31 Apr 2015?

                Just bag all that. Track all time values in Ticks. It's clearly the best solution, no formatting worries there. :thumbsup:

                Kill some time, play my game Hop Cheops[^]

                1 Reply Last reply
                0
                • S Single Step Debugger

                  I wonder why we just not count the days, how difficult it may be? For example today is 734456 AD. And of course the negative numbers will represent BC.

                  There is only one Vera Farmiga and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

                  A Offline
                  A Offline
                  AspDotNetDev
                  wrote on last edited by
                  #12

                  Why not seconds? Right now is something like 63,456,998,400 AD. :)

                  Thou mewling ill-breeding pignut!

                  1 Reply Last reply
                  0
                  • S Steve Mayfield

                    Yes, yyyymmdd is the easiest to sort (date treated as an integer number) and mmddyyyy or ddmmyyyy is much more difficult :sigh: - In a Genealogy course I took in college we were told to write dates at dd-MMM-yyyy so there is no ambiguity :thumbsup: ... but then us Math guys are notorious for fiddling with the digits to get the desired results ;)

                    Steve _________________ I C(++) therefore I am

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

                    Hey - don't confuse us mathematicians with those statisticians

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

                    1 Reply Last reply
                    0
                    • N Nish Nishant

                      Chris Maunder wrote:

                      How is 14 Mar 2015 (or is that 3 (Jan++)++ 2015?) 16 years behind 31 Apr 2015?

                      Not to say that April does not have a 31st day.

                      Regards, Nish


                      My technology blog: voidnish.wordpress.com

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

                      If the US wants to biggie-size April then it's not something that would surprise me

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

                      1 Reply Last reply
                      0
                      • C Chris Maunder

                        Steve Mayfield wrote:

                        3/14/15

                        Steve Mayfield wrote:

                        16 years later: 31/4/15

                        OK, US dates with their ridiculous ordering of units has always done my head in, but I now offocially give up. How is 14 Mar 2015 (or is that 3 (Jan++)++ 2015?) 16 years behind 31 Apr 2015? Oh, you mean 15 Apr 2031? :doh: This is why is should be a flogging offense not not have dates formatted unambigously. small->large, or (full digits) large -> small, or dd MMM yyyy is even better.

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

                        K Offline
                        K Offline
                        krumia
                        wrote on last edited by
                        #15

                        In my workplace, we use yyyymmdd for comments, file naming, etc.. it's damn easy to sort. I have always felt that mmddyy is just irrational. You don't say a player finished a race in 23 mins 45 secs 1 hour. That's just ridiculous.

                        Peace, ye fat guts!

                        S J 2 Replies Last reply
                        0
                        • K krumia

                          In my workplace, we use yyyymmdd for comments, file naming, etc.. it's damn easy to sort. I have always felt that mmddyy is just irrational. You don't say a player finished a race in 23 mins 45 secs 1 hour. That's just ridiculous.

                          Peace, ye fat guts!

                          S Offline
                          S Offline
                          spd69
                          wrote on last edited by
                          #16

                          Perhaps what we need is to use the 'Time Police'. They could rigorously enforce stamdards across the world. Nay even acroos TIME itself. Question is do we A) Create the Time Police ourselves or B) Wait for their creation in the future. With Time Travel they cna travel back to our 'time' to Retro Enforce Time Standards Regrads The Retro-Enforcer

                          1 Reply Last reply
                          0
                          • S Steve Mayfield

                            Yes, yyyymmdd is the easiest to sort (date treated as an integer number) and mmddyyyy or ddmmyyyy is much more difficult :sigh: - In a Genealogy course I took in college we were told to write dates at dd-MMM-yyyy so there is no ambiguity :thumbsup: ... but then us Math guys are notorious for fiddling with the digits to get the desired results ;)

                            Steve _________________ I C(++) therefore I am

                            J Offline
                            J Offline
                            jsc42
                            wrote on last edited by
                            #17

                            Read the discussions on date micro formats for HTML5 (sorry, I haven't got a link - I am sure that another CPian will be able to find some). Genealogies is cited as a difficult case as the dates go before 1752. The recommendation (in the microformats discussions) is that you still use the Gregorian dates, but that would be very confusing as the historical dates were Julian (which I am sure is what most genealogy courses would use). Also, genealogies hit one of the other date format 'gotchas': approximations; how do you represent 'sometime probably in September between 4BC and 1AD'?

                            S 1 Reply Last reply
                            0
                            • K krumia

                              In my workplace, we use yyyymmdd for comments, file naming, etc.. it's damn easy to sort. I have always felt that mmddyy is just irrational. You don't say a player finished a race in 23 mins 45 secs 1 hour. That's just ridiculous.

                              Peace, ye fat guts!

                              J Offline
                              J Offline
                              jsc42
                              wrote on last edited by
                              #18

                              krumia wrote:

                              You don't say a player finished a race in 23 mins 45 secs 1 hour

                              No you don't. But it is more common to say "It is ten past eleven", than to say "It is 11 o'clock plus ten minutes". Admittedly, "It is 11:10" is quicker. Posted just after ten past eleven, GMT.

                              K 1 Reply Last reply
                              0
                              • S Steve Mayfield

                                In just a few years we will have: 3/14/15 9:26:53.58 and 16 years later: 31/4/15 9:26:53.58 - which in the US will also be Income Taxes due Day X|

                                Steve _________________ I C(++) therefore I am

                                D Offline
                                D Offline
                                Darren Pruitt
                                wrote on last edited by
                                #19

                                Pi is Wrong! :) Couldn't resist...

                                1 Reply Last reply
                                0
                                • S Steve Mayfield

                                  In just a few years we will have: 3/14/15 9:26:53.58 and 16 years later: 31/4/15 9:26:53.58 - which in the US will also be Income Taxes due Day X|

                                  Steve _________________ I C(++) therefore I am

                                  B Offline
                                  B Offline
                                  Bob1000
                                  wrote on last edited by
                                  #20

                                  Obviously this only occurs in the US, in Europe with dd/mm/yy we get any early pi on March the 14th in 2015 So guess you have to refer to 3/14/15 as American pie :)

                                  S 1 Reply Last reply
                                  0
                                  • S Steve Mayfield

                                    In just a few years we will have: 3/14/15 9:26:53.58 and 16 years later: 31/4/15 9:26:53.58 - which in the US will also be Income Taxes due Day X|

                                    Steve _________________ I C(++) therefore I am

                                    A Offline
                                    A Offline
                                    austin hamman
                                    wrote on last edited by
                                    #21

                                    07/20/2069 19:37:33 will be unix timestamp 3141592653 other notable timestamps: time of the beast (unix timestamp 666) was 12/31/1969 19:11:06 Euler time (unix timestamp 2718281828) will be 02/20/2056 09:17:08 AM avagadro's time overflows a 64 bit int... so don't hold your breath and PHI time (unix timestamp 1618033988) is 04/10/2021 01:53:08 AM

                                    1 Reply Last reply
                                    0
                                    • J jsc42

                                      Read the discussions on date micro formats for HTML5 (sorry, I haven't got a link - I am sure that another CPian will be able to find some). Genealogies is cited as a difficult case as the dates go before 1752. The recommendation (in the microformats discussions) is that you still use the Gregorian dates, but that would be very confusing as the historical dates were Julian (which I am sure is what most genealogy courses would use). Also, genealogies hit one of the other date format 'gotchas': approximations; how do you represent 'sometime probably in September between 4BC and 1AD'?

                                      S Offline
                                      S Offline
                                      satovey
                                      wrote on last edited by
                                      #22

                                      I first convert the Gregorian date to the Julian Day Count, make the calculated adjustment, then convert back to the Gregorian or Julian calendar. While this may seem an extra step in the process, it does have two advantages. 1. The dates remain in their numerical sequence and thus allow for accurate sorting. 2. Regardless of the calendar you convert back to, Gregorian or Julian, the date will be accurate within a 12 hour period. The one draw back to the JDC is that the JDC changes at noon rather than midnight. This could be rectified by creating a new day count that starts at midnight rather than noon. Scott A. Tovey

                                      1 Reply Last reply
                                      0
                                      • B Bob1000

                                        Obviously this only occurs in the US, in Europe with dd/mm/yy we get any early pi on March the 14th in 2015 So guess you have to refer to 3/14/15 as American pie :)

                                        S Offline
                                        S Offline
                                        satovey
                                        wrote on last edited by
                                        #23

                                        Bob1000 wrote:

                                        Obviously this only occurs in the US, in Europe with dd/mm/yy
                                        we get any early pi on March the 14th in 2015
                                         
                                        So guess you have to refer to 3/14/15 as American pie

                                        Here in the US, most of us grow up using the dd/mm/yy format. The only ones who use that other format are the ones who need people to think that they are smart. They're insecure because of the increasing forgetfulness that they have been experiencing. Do you think we should tell them that's called "getting old"? Just one thing: What were we talking about? :laugh: Scott

                                        1 Reply Last reply
                                        0
                                        • S Steve Mayfield

                                          In just a few years we will have: 3/14/15 9:26:53.58 and 16 years later: 31/4/15 9:26:53.58 - which in the US will also be Income Taxes due Day X|

                                          Steve _________________ I C(++) therefore I am

                                          M Offline
                                          M Offline
                                          Mark Whybird
                                          wrote on last edited by
                                          #24

                                          More importantly, will τ be what is taught in schools by 6/28/31 8:53:07.179586... (in that crazy US date system) http://tauday.com[^]

                                          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