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

Hmm...

Scheduled Pinned Locked Moved The Lounge
htmldatabasequestion
25 Posts 13 Posters 3 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.
  • D Dalek Dave

    Yes, I meant there was no day zero in history. So for Actual Dates rather than numbered by computer dates, day one is number 1. There was no Year Zero either, it ran from 1AD to 1AD. Don't forget that there are 13 months in a year and it is the year 2003. (If you live in Ethiopia).

    ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC League Table Link CCC Link[^]

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

    Dalek Dave wrote:

    There was no Year Zero either, it ran from 1AD to 1AD.

    :doh:

    3x12=36 2x12=24 1x12=12 0x12=18

    1 Reply Last reply
    0
    • R Richard A Dalton

      [ftw]melvin wrote:

      I think we are safe to abstract the implementation of 'this.year' because the value held at this.year[255] (zero based) remains the same as this.year[256] (one based) and the 256th row if we do a COBOL style start (on 1 Jan) and then a sequential read until 256 days have been read. The 256th day of the year will always be the same. Except on leap years.

      When I find myself reading and understanding something like that, I have to wonder how I ever managed to marry and reproduce. -Rd

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

      Richard A. Dalton wrote:

      When I find myself reading and understanding something like that, I have to wonder how I ever managed to marry and reproduce.

      Have you done paternity tests?

      3x12=36 2x12=24 1x12=12 0x12=18

      R 1 Reply Last reply
      0
      • D Dan Neely

        Richard A. Dalton wrote:

        When I find myself reading and understanding something like that, I have to wonder how I ever managed to marry and reproduce.

        Have you done paternity tests?

        3x12=36 2x12=24 1x12=12 0x12=18

        R Offline
        R Offline
        Richard A Dalton
        wrote on last edited by
        #23

        Dan Neely wrote:

        Have you done paternity tests?

        :laugh: I haven't. But I do have some doubts: He arrived one day early, which would be the first project I've every delivered that close to a scheduled release date. He's currently back in hospital having had some tummy surgery. I definitely would have caught that flaw in System Test prior to release. All that said, when they told me that they would be shutting down the intestines and restarting them I knew he was the offspring of programmers. -Rd

        1 Reply Last reply
        0
        • M Mark_Wallace

          It's Programmer Day[^] today. Developers and Software Engineers need not apply

          And who is the programmer the day's for, anyway?

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #24

          Yes, today I will program my VCR for the next 12 months. And buy some more tape. :)

          Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

          Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

          1 Reply Last reply
          0
          • D Dalek Dave

            Yes, I meant there was no day zero in history. So for Actual Dates rather than numbered by computer dates, day one is number 1. There was no Year Zero either, it ran from 1AD to 1AD. Don't forget that there are 13 months in a year and it is the year 2003. (If you live in Ethiopia).

            ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC League Table Link CCC Link[^]

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

            Sure there was; weren't you there?

            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