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. Goole says today is someone's 220th birthday

Goole says today is someone's 220th birthday

Scheduled Pinned Locked Moved The Lounge
question
14 Posts 8 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.
  • X Xiangyang Liu

    Was the guy born 220 years ago or 880 years ago? No google please.

    P Offline
    P Offline
    Pete OHanlon
    wrote on last edited by
    #5

    Mike Hankey?

    *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

    "Mind bleach! Send me mind bleach!" - Nagy Vilmos

    My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

    1 Reply Last reply
    0
    • X Xiangyang Liu

      Was the guy born 220 years ago or 880 years ago? No google please.

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #6

      Xiangyang Liu 刘向阳 wrote:

      No google please.

      Bing? :-D http://www.bing.com/search?setmkt=en-US&q=220th+birthday[^]

      Vasudevan Deepak Kumar Personal Homepage
      Tech Gossips
      The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

      1 Reply Last reply
      0
      • X Xiangyang Liu

        Was the guy born 220 years ago or 880 years ago? No google please.

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

        Xiangyang Liu 刘向阳 wrote:

        Was the guy born 220 years ago or 880 years ago? No google please.

        Actually, because of century non-leap years, 220 leap years ago would be 874 years ago. ;P [Edit] :-O :-O :-O I shouldn't be subtracting the six century years, but rather adding them. 220 leap years ago would have to be 886 years ago in order to account for the century years that were *not* leap years. Incidentally, my middle name is now Persnickety. :) [/Edit]

        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] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

        X E B 3 Replies Last reply
        0
        • C Chris Meech

          Xiangyang Liu 刘向阳 wrote:

          Was the guy born 220 years ago or 880 years ago? No google please.

          Actually, because of century non-leap years, 220 leap years ago would be 874 years ago. ;P [Edit] :-O :-O :-O I shouldn't be subtracting the six century years, but rather adding them. 220 leap years ago would have to be 886 years ago in order to account for the century years that were *not* leap years. Incidentally, my middle name is now Persnickety. :) [/Edit]

          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] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

          X Offline
          X Offline
          Xiangyang Liu
          wrote on last edited by
          #8

          Thanks. I thought I missed something. Many years ago I was asked to investigate a report application which did not work on Feb 29th. I thought, wow, that was an interesting bug. I was disappointed to find out that the app did not work on 31th either.

          My Younger Son & His "PET"

          C 1 Reply Last reply
          0
          • X Xiangyang Liu

            Thanks. I thought I missed something. Many years ago I was asked to investigate a report application which did not work on Feb 29th. I thought, wow, that was an interesting bug. I was disappointed to find out that the app did not work on 31th either.

            My Younger Son & His "PET"

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

            Xiangyang Liu 刘向阳 wrote:

            the app did not work on 31th either.

            Back in the days of Y2K testing, I was tasked with some testing instructions concerning some DB procedures that accepted date parameters. The list of dates that I was supposed to test included invalid dates like that. February 29, 2000. Good Date. Check. February 29, 2001. Bad Date. Check. February 30, 2001. :wtf: :wtf: :wtf: Are we going to test March 32, 2002. also? :doh: :doh:

            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] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

            1 Reply Last reply
            0
            • C Chris Meech

              Xiangyang Liu 刘向阳 wrote:

              Was the guy born 220 years ago or 880 years ago? No google please.

              Actually, because of century non-leap years, 220 leap years ago would be 874 years ago. ;P [Edit] :-O :-O :-O I shouldn't be subtracting the six century years, but rather adding them. 220 leap years ago would have to be 886 years ago in order to account for the century years that were *not* leap years. Incidentally, my middle name is now Persnickety. :) [/Edit]

              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] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

              E Offline
              E Offline
              Ennis Ray Lynch Jr
              wrote on last edited by
              #10

              Didn't the calender switch in 1582 which may change the math slightly?

              Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

              C 1 Reply Last reply
              0
              • E Ennis Ray Lynch Jr

                Didn't the calender switch in 1582 which may change the math slightly?

                Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

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

                You are probably correct on that point. :)

                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] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

                1 Reply Last reply
                0
                • C Chris Meech

                  Xiangyang Liu 刘向阳 wrote:

                  Was the guy born 220 years ago or 880 years ago? No google please.

                  Actually, because of century non-leap years, 220 leap years ago would be 874 years ago. ;P [Edit] :-O :-O :-O I shouldn't be subtracting the six century years, but rather adding them. 220 leap years ago would have to be 886 years ago in order to account for the century years that were *not* leap years. Incidentally, my middle name is now Persnickety. :) [/Edit]

                  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] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

                  B Offline
                  B Offline
                  Bassam Abdul Baki
                  wrote on last edited by
                  #12

                  Leap years are +1 for every 4 years, +0 for every 100 years, but +1 for every 400 years. I'm getting 220 leap years ago would be 901 years ago. 220 LY = 1 (2012 is a leap year) + 219 * 4 + 6 * 4 (1300, 1400, 1500, 1700, 1800, 1900 were skipped, so add six more four years) = 901Y The year 1112 would be 220 leap years ago. In Excel, start with 2012 in cell A1 and "=A1 -4" in cell A2 and copy that down to row A226. In column B, put 1 to 226 for indices (B2 = B1 + 1). Change B29 (1900) to equal B28, B54 (1800) to equal B53, B79 (1700) to equal B78, B129 (1500) to equal B128, B154 (1400) to equal B153, and B179 (1300) to equal B178. Eliminating the 6 non-leapyears, B226 becomes the 220th leap year. Of course this does not take into consideration when the Church changed the calander, I think.

                  Web - BM - RSS - Math - LinkedIn

                  C 1 Reply Last reply
                  0
                  • B Bassam Abdul Baki

                    Leap years are +1 for every 4 years, +0 for every 100 years, but +1 for every 400 years. I'm getting 220 leap years ago would be 901 years ago. 220 LY = 1 (2012 is a leap year) + 219 * 4 + 6 * 4 (1300, 1400, 1500, 1700, 1800, 1900 were skipped, so add six more four years) = 901Y The year 1112 would be 220 leap years ago. In Excel, start with 2012 in cell A1 and "=A1 -4" in cell A2 and copy that down to row A226. In column B, put 1 to 226 for indices (B2 = B1 + 1). Change B29 (1900) to equal B28, B54 (1800) to equal B53, B79 (1700) to equal B78, B129 (1500) to equal B128, B154 (1400) to equal B153, and B179 (1300) to equal B178. Eliminating the 6 non-leapyears, B226 becomes the 220th leap year. Of course this does not take into consideration when the Church changed the calander, I think.

                    Web - BM - RSS - Math - LinkedIn

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

                    I'm glad to know that there is someone else who has more time on their hands to do things just like this. :-D

                    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] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

                    B 1 Reply Last reply
                    0
                    • C Chris Meech

                      I'm glad to know that there is someone else who has more time on their hands to do things just like this. :-D

                      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] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

                      B Offline
                      B Offline
                      Bassam Abdul Baki
                      wrote on last edited by
                      #14

                      I get in to work at 6:00 AM for specifically such "challenges". :D

                      Web - BM - RSS - Math - LinkedIn

                      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