Slashdot Mirror


Ask Slashdot: How Many Time Standards Are There?

jjoelc writes "Being one of those 'suffering' through the time change last night, the optimist in me reminded me that it could be much worse. That's when I started wondering how many different time/date standards there really are. Wikipedia is a good starting point, but is sorely lacking in the various formats used by e.g. Unix, Windows, TRS-80, etc. And that is without even getting into the various calendars that have been in and out of use throughout the ages. So how about it? How many different time/date 'standards' can we come up with? I'm betting there are more than a few horror stories of having to translate between them..."

154 of 214 comments (clear)

  1. stop worrying about time by Anonymous Coward · · Score: 1

    There is no time to worry about time.

    1. Re:stop worrying about time by AvitarX · · Score: 5, Interesting
      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
    2. Re:stop worrying about time by Penguinisto · · Score: 2

      Cute joke, but I recall having a realtime manufacturing BI system that was programmed so all production at two sites would come to a halt if any node computer was more than 30 seconds off-time from the rest.

      Took a hell of an NTP architecture, which is what I would answer TFA submitter with: NTP is nearly universal platform/OS-wise, and it saves you from having to worry about whatever standard a given computing device uses.

      Even Windows (which has a pretty crap set-up IMHO) can be tweaked to behave time-wise with the right registry settings.

      --
      Quo usque tandem abutere, Nimbus, patientia nostra?
    3. Re:stop worrying about time by rwise2112 · · Score: 2

      the real problem with time is that it is a highly subjective measurement.

      Lunchtime, doubly so!

      --

      "For every expert, there is an equal and opposite expert"
    4. Re:stop worrying about time by JWSmythe · · Score: 1

      I like #55..

      You will never have to parse a format like ---12Z or P12Y34M56DT78H90M12.345S

      It looks like he has some experience with NEMA strings. :)


          $GPRMC,225446,A,4916.45,N,12311.12,W,000.5,054.7,191194,020.3,E*68
          $GPZDA,141713.4,01,03,2013,05,00*57

      Try cracking those without a guide or sufficient samples, much less having your code automagically process it.

      At least they're organized. I've had people make up their own formats, which weren't necessarily consistent. Like month/day interchangeable, no zero padding on either, optional 2 or 4 digit years and no field delimitation (i.e., at least a freakin' space).

      --
      Serious? Seriousness is well above my pay grade.
    5. Re:stop worrying about time by Cramer · · Score: 2

      Where "the right registry settings" means turn off Micor$haft's BS "Windows Time" service and install an actual NTPd. (WT will only keep a sane time in a domain.) I've been doing that since Window 95! (anyone remember "Tardis"?)

    6. Re:stop worrying about time by adolf · · Score: 1

      I don't know about "the right registry settings," but:

      All I do is just put the name of my local NTP server into the clock settings in Windows 7, and it seems to work.

      AFAICT, it only updates periodically (like running ntpdate from cron). If there is clock drift, I do not notice it, but I'm not exactly looking for it -- at least, not for my own stuff, on my own time.

      Local *nix boxes run ntpd, because it's the most trivial way to get it done.

      For the few time-critical machines that I have scattered about elsewhere, I run ntpd.

  2. The question? by DavidClarkeHR · · Score: 1

    For questions like this, my dad would always say something cheesy, like "Does it matter, son? There's no time like the present, and that's all that matters".

    Of course, he didn't think going into the business world as an employee was a good professional choice, either.

    --
    - Nec Impar Pluribus, or so I'm told.
  3. Time Standards vs. Time Formats, and Y10K problem by girlinatrainingbra · · Score: 5, Informative

    IMHO, Time Standards would be "standards/standardizations for time keeping", such as say when the railroads crossed the US and decided that local high-noon was not so useful when you translate yourself geographically so swiftly, and thus "time zones" in the US were set up. Some countries (India, and China, maybe others i don't know of...) keep a signle time zone for the entirety of their contiguous expanse for "standardization".
    .
    Time Formats, again IMHO, would be the "standard" (ha, I heard it [that word] both ways!) used for displaying, communicating, or storing "time data values" on paper, verbally, or in a computerized (or book-keeping) record. One example: "yYYYY-MM-DD-HH-mm-ss.{fractional value of second}" [note I added an extra "y" digit to allow for the Y-10K problem!!!). Floppy disks and TRS-DOS and Apple DOS and MS-DOS and CPM and UNIX and so many others use different formats for this. They also use different "loci" for the "origin point" of time (the "epoch", e.g. time elapsed since point $x$ in time. Gregorian year 1904 for old macs, 1970 for the unix epoch, etc.

  4. Really two very broad subjects by Anonymous Coward · · Score: 3, Insightful

    1. How many different date/time standards has the human race come up with

    2. How many different data structures and APIs have tech companies invented in trying to model the present-day Gregorian calendar (with time zones and DST, etc) used by most Western countries?

    It's anyone's guess which one would produce a higher number.

    1. Re:Really two very broad subjects by nospam007 · · Score: 2, Funny

      "1. How many different date/time standards has the human race come up with"

      It doesn't matter, 6 months of the year, the clock on your oven will be 1 hour off, no matter where you live.

    2. Re:Really two very broad subjects by __aaltlg1547 · · Score: 1

      Not in Phoenix.

    3. Re:Really two very broad subjects by countach · · Score: 1

      Or Moscow

    4. Re:Really two very broad subjects by M.+Baranczak · · Score: 4, Informative

      Wrong. Only if you're in a part of the world that observes Daylight Saving. Which puts you in the minority.

    5. Re:Really two very broad subjects by Ksevio · · Score: 1

      So basically if you're living in a first world country...

    6. Re:Really two very broad subjects by qwak23 · · Score: 1

      There are quite a few first world countries that don't observe it (Most of Australia, Japan, S. Korea to name a few). I still find it completely unnecessary. Hell even one of the original proponents of it back in the day was mostly interested in being able to squeeze out a few extra holes of golf in the evening. As much as I enjoy golf, it's not a good reason to muck with our clocks.

    7. Re:Really two very broad subjects by msauve · · Score: 1

      In soviet Russia, the hour offs you.

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
  5. I created one for a game by Anonymous Coward · · Score: 2, Interesting

    It was absolutely awful trying to convert between the game-time and real-time.
    I took the easy route and still based everything on seconds, and built it up from there.

    The main reason for doing it was because the game was based on real time, so even being away caused events to pass.
    And given a typical person, they'd play games more or less at the same time every day for a certain period of time.
    This is why I settled on what would effectively be 7 hour days.
    Out of sync with a normal day so a typical person would almost certainly come across every time period at some point.
    And 7 is short enough to experience in a day, but still long enough to feel "right".
    I can't remember how I done minutes or hours again, it was way back in 2005.

    That project never got completed due to health reasons.
    I might come back to it one day, but it isn't a priority.

    At least I never decided to make a language for it as well.

    1. Re:I created one for a game by __aaltlg1547 · · Score: 3, Funny

      It was absolutely awful trying to convert between the game-time and real-time. I took the easy route and still based everything on seconds, and built it up from there.

      The main reason for doing it was because the game was based on real time, so even being away caused events to pass. And given a typical person, they'd play games more or less at the same time every day for a certain period of time. This is why I settled on what would effectively be 7 hour days. Out of sync with a normal day so a typical person would almost certainly come across every time period at some point. And 7 is short enough to experience in a day, but still long enough to feel "right". I can't remember how I done minutes or hours again, it was way back in 2005.

      That project never got completed due to health reasons. I might come back to it one day, but it isn't a priority.

      At least I never decided to make a language for it as well.

      We're sorry about what this did to your sanity. Glad to see you've recovered.

  6. Re:Time Standards vs. Time Formats, and Y10K probl by eneville · · Score: 2, Insightful

    Isn't that somewhat close to ISO 8601? I generally find it good and sensihle, helps with sorting and reading.

  7. There's One Standard by Anonymous Coward · · Score: 1

    There's one standard: It's the International Standard ISO 8601

    Everything other notation is to time as phrenology is to science.

  8. Critical Dates by Sebastopol · · Score: 5, Informative

    on a side note, i love this website:

    http://www.merlyn.demon.co.uk/critdate.htm

    it is a huge list of important dates relevant to computer programs, algorithms, and O/Ses.

    --
    https://www.accountkiller.com/removal-requested
  9. Total by fph+il+quozientatore · · Score: 5, Funny

    There are in total 863 different time standard, including historical ones. That's the good thing about standards, there are so many to choose from.

    Now, please someone post a link to that xkcd comic and we can move on to the next question.

    --
    My first program:

    Hell Segmentation fault

    1. Re:Total by ericloewe · · Score: 5, Informative

      http://xkcd.com/1179/

      ISO 8601

      But, since you mention the overabundance of standards...

      http://xkcd.com/927/

    2. Re:Total by fph+il+quozientatore · · Score: 2

      xkcd comics are like standards. You think there's only one that applies, but...

      --
      My first program:

      Hell Segmentation fault

    3. Re:Total by KingMotley · · Score: 1

      864. I always count time units since the big bang, but I refuse to let anyone know when the big bang was nor what unit of time I use.

    4. Re:Total by LynnwoodRooster · · Score: 2

      Actually, we're down to 862. We're deprecating the Mayan method since the world didn't end at the end of their time...

      --
      Browsing at +1 - no ACs, I ignore their posts. So refreshing!
    5. Re:Total by phantomfive · · Score: 3, Insightful

      And yet the ISO standard is year-month-day. It is used in China, and probably elsewhere.

      --
      "First they came for the slanderers and i said nothing."
    6. Re:Total by John+Hasler · · Score: 1

      Surely you use Planck units.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    7. Re:Total by qwak23 · · Score: 1

      Actually, that is just common usage in the states. I'm American, I live in the states, and I use YYYYMMDD, YYYY-MM-DD, DDMMMYY, DDMMMYYYY, DD/MM/YY, DD/MM/YYYY, MM/DD/YYYY, MM/DD/YY among others rather often. I mostly prefer YYYYMMDD and its variants as it's easy to sort in chronological order.

      *note: I don't just arbitrarily choose a format, if I'm choosing the format I use YYYYMMDD, if someone else chose the format it could be any of the above.

    8. Re:Total by arth1 · · Score: 2

      Actually, we're down to 862. We're deprecating the Mayan method since the world didn't end at the end of their time...

      It didn't? You're just a computer simulation that runs a "what if" scenario of what could have happened if the world hadn't ended.

      Back to topic - I see no problems with all the different methods of counting elapsed time. All of them that I can think of are well defined, so conversion is easy enough.

    9. Re:Total by Anonymous Coward · · Score: 2, Informative

      YYYYMMDD is a poor choice, IMO, for two reasons.

      1st, morons get halfway through (having input the 20 and 12 into day and month fields respectively) and then become baffled by the "year" part being, say, 0326. If you include a separator character, it compels them to realize it's not DDMMYYYY before they start abusing it. Fortunately, this no longer applies strongly, since they'll now trip over the month 13.

      2nd. YYYY-MM-DDTHH:MM:SS is the motherfucking standard because it's reducible -- yes, YYYYMMDDTHHMMSS is permitted in ISO8601, but I'll show you why it sucks...
      So all these (extended formats) are valid:
      2013-03-11T05:36:45
      2013-03-11T05:36
      2013-03-11T05
      2013-03-11
      2013-03
      2013
      Perfect and elegant, yes?

      Use basic formats, and all but one are valid:
      20130311T053645
      20130311T0536
      20130311T05
      20130311
      201303
      2013

      YYYYMM is forbidden because it's confusable with YYMMDD (which was formerly permitted under ISO8601), whereas YYYY-MM is distinct from YY-MM-DD -- so if you just have the good sense to use the extended formats, you don't have to worry about it.

    10. Re:Total by Neil+Boekend · · Score: 1

      Wasn't the Mayan calendar simply cyclic? Just like ours?
      I heard that it was just like saying the 31th of December is the end of the year so it's the end of the world. The Mayans just had a longer "year" in their long scale.
      By the way: if the Mayans were that good in seeing the future they would have won from the Spanish.

      --
      Well, I might have a way, but it only works on a semi spherical planet in a vacuum.
    11. Re:Total by DrVxD · · Score: 1

      Aside from anything else, it's by far and away the most logical; start with the most significant portion, and work your way down.

      (which also means it has the nice property that a lexicographical sort also gives you a time-based sort)

      --
      Not everything that can be measured matters; Not everything that matters can be measured.
    12. Re:Total by DrVxD · · Score: 1

      you guys watch everything we do

      True - but it's largely involuntary. It's for the same morbid reasons that people can't drive past a car crash without looking. 'Merkins are a perpetual train wreck.

      --
      Not everything that can be measured matters; Not everything that matters can be measured.
    13. Re:Total by phantomfive · · Score: 1

      there are so many logical ways to do it; you can think of a logical way to explain any order. The american way, month, day, year matches the way we say the date, april fourth, 1980, for example.

      --
      "First they came for the slanderers and i said nothing."
  10. Excel's year 1900 bug by Blaskowicz · · Score: 5, Interesting

    Excel is known for considering year 1900 as a leap year even though it's not, but I don't know if this historical bug (carried over from Lotus 1-2-3 according to wikipedia) is still respected. So consider Excel usable to year 1901 to a date I don't know.
    Likewise the Y2K38 problem with Unix is that time, if represented with 32 bits, doesn't go before a certain 20th century date as well as ending abruptingly on a certain date and time in 2038 - causing the end of the world. Both examples mean that you have to pay attention to the usable time range - be it usable length, absolute minimum date, absolute maximum date, with hopefully some time standards offering infinite range (like A.D. / C.E. year numbering?)

    Leap seconds is another infuriating problem and relativity in general and I have to wonder if we have to consider Mars's time, Earth's time, Sun's time, Voyager 2's time etc. in any relevant way. Have fun!

    1. Re:Excel's year 1900 bug by Xoc-S · · Score: 1

      Excel does not treat 1900 as a leap year. Excel's epoch, though, is December 30th, 1899 instead of the 31st to be compatible with 1-2-3 for all dates from March 1st, 1900 onward, allowing for 1-2-3's bug. Excel and Word, and all other Microsoft products that use VBA as a macro language, use the OLE Automation date format that works just fine on all dates from January 1, year 100 to December 31st 9999. Dates are treated as a double with the integer part being days and fractions being the fraction of a day. Negative numbers give the dates before the epoch. The only weird thing is the date of the epoch, which causes things such the Time function to return the time on December 30th 1899, if you retrieve the date portion.

    2. Re:Excel's year 1900 bug by __aaltlg1547 · · Score: 1

      But the problem is easy enough to fix by adding another 32-bit epoch with the default being zero corresponding to our current epoch. And add a 64-bit precision timing field when you need precision much better than a second.

    3. Re:Excel's year 1900 bug by phantomfive · · Score: 4, Informative
      --
      "First they came for the slanderers and i said nothing."
    4. Re:Excel's year 1900 bug by jrumney · · Score: 1

      Excel is known for considering year 1900 as a leap year even though it's not, but I don't know if this historical bug (carried over from Lotus 1-2-3 according to wikipedia) is still respected. So consider Excel usable to year 1901 to a date I don't know.

      2099 if their bugs are consistent.

    5. Re:Excel's year 1900 bug by soldack · · Score: 1

      VBA within excel does not consider 1900 a leap year...getting the two to work together is fun.

      --
      -- soldack
  11. oblig xkcd ? by Anonymous Coward · · Score: 1
  12. GPS Time by Anonymous Coward · · Score: 5, Interesting

    Another interesting one is GPS-Time, which is basically UTC without the leap seconds.

    https://en.wikipedia.org/wiki/GPS_time#Timekeeping

    1. Re:GPS Time by mbone · · Score: 1

      Or, it is TAI with an arbitrary offset (the UTC offset at the time the system was set up), because the Air Force couldn't be bothered to ask either NIST or the USNO what time standard they should use, and they just set their clocks to the then UTC.

    2. Re:GPS Time by fuzzyfuzzyfungus · · Score: 4, Informative

      What is rather annoying is that GPS time is UTC without leap seconds; but(for some reason) is different than TAI, which is also UTC without leap seconds.

    3. Re:GPS Time by Anonymous Coward · · Score: 1

      GPS time was UTC during 1980 (TAI - 19 seconds) but haven't kept up with leap seconds to maintain a uniform timescale. Most GPS users don't have to worry about this since the UTC offset of GPS time is included in the broadcast almanac and GPS receivers mostly use UTC timestamps.

    4. Re:GPS Time by fuzzyfuzzyfungus · · Score: 1

      The really annoying thing with leap seconds is that they aren't deterministic. DST and leap years are annoying complications; but a totally closed box, if enough extra complexity is (correctly) thrown at its timekeeping can handle them. Leap seconds, by contrast, are added when the apparent time derived from astronomical observations drifts too far from TAI. A closed-box system cannot predict when they will occur.

  13. ISO 8601 by Anonymous Coward · · Score: 4, Informative

    http://xkcd.com/1179/

    This subject has already been discussed.

    1. Re:ISO 8601 by shking · · Score: 1

      Mod parent up

      --
      -- "At Microsoft, quality is job 1.1" -- PC Magazine, Nov. 1994
    2. Re:ISO 8601 by Rob+the+Bold · · Score: 1

      Mod parent up

      Done!

      --
      I am not a crackpot.
  14. One time to rule them all by mbone · · Score: 1

    There is but one time, TAI. Everything else is just a TAI with an asterisk.

    1. Re:One time to rule them all by msauve · · Score: 1

      Not really. Many jurisdictions (including the US) define UTC to be the legal time scale. Although it ticks at the same rate as TAI, it is different. Based on the widespread popular and legal use of UTC, it's more correct to say that TAI is UTC without leap seconds than to say that UTC is TAI with them. Physical realizations are generally referenced as UTC, not TAI (e.g. UTC(NIST), UTC(NPL)).

      If you use TAI or UTC, you can never know what time is is right now, because it's only known after the fact - being based on the weighted average of an international collection of Cs clocks. "After the fact," meaning it may be up to a month before knowing what time it was, using BIPM Circular T. They are experimenting with a rapid update process (UTCr).

      Then there's UT0, UT1 and UT2, which have no relationship with TAI at all, along with some national lab atomic time scales which are independent of TAI (e.g. TA(NIST), TA(CH) ).

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
  15. I'm not one for reddit, I must say by AbRASiON · · Score: 3, Insightful

    However this particular topic has me wishing I could moderate the actual news posts themselves.
    We get it, Americans don't like DST - good for you, please stop posting hundreds of goddamned articles on it.

    Some of us like getting home from work with more free daylight to spend with the kids, excercise, do gardening or whatever. No, we can't change the time we start work, no we're NOT going to see business's move to an 8-4 model.

    My only complaint is it's not an all round time thing, if society isn't going to move to the 8-4 model then damnit just change the zones forward.

    Furthermore I've been told by several American pals in the last 2 or 3 days, they actually like DST, they dislike when it's not DST infact and it's just common misuse of the term, don't know if this is true or not.
    In conclusion, just deal with it and for fucks sake stop posting these articles every year.

  16. Re:Time Standards vs. Time Formats, and Y10K probl by ericloewe · · Score: 2

    You could've saved some time just saying you use ISO 8601...

  17. There are worse things related to time by Dracos · · Score: 4, Insightful

    Worse than suffering through the actual daylight/standard time changeovers, are dealing with timezones themselves in code. Most timezones are full hour offsets from UTC, but there are a few that are N:30 or N:45. There are even offsets which are greater than 12.

    Then you have to deal with differing dates of when the changeovers actually happen over the years in a given timezone.

    If you ever write an iCal-related application and have to deal with recurring events, you'll soon realize that Outlook's iCal support is comparatively even worse than IE's web standards support.

    Also, relevant xkcd.

    1. Re:There are worse things related to time by 93+Escort+Wagon · · Score: 1

      I'd mod you up, if only I had the points today...

      I'm a bit surprised there hasn't been a single "everyone should be on UTC" post yet. Maybe they wore themselves out posting so vociferously a couple days ago. Or maybe they forgot to set their clocks forward last night.

      --
      #DeleteChrome
    2. Re:There are worse things related to time by KingMotley · · Score: 1

      It's worse than that. There are N:10, N:15, as well as N:30 and N:45. The offset for DST can change on a yearly basis, and some timezones follow DST partially, and different areas will use different dates to change to DST that varies by year as well.

    3. Re:There are worse things related to time by DrVxD · · Score: 2

      It's worse that that; there are regions which observe DST within regions that don't (and vice versa).

      But my favourite spot of Time Zone Weirdness is probably Cameron Corner, which actually sits on three time zones.

      --
      Not everything that can be measured matters; Not everything that matters can be measured.
  18. Stardards related by BrookHarty · · Score: 1

    I always push for the ISO 8601 time formats. I like seeing YYYY-MM-DD on my time stamps. Wish this was the industry standard for logging, file systems, etc.

    What I hate how the US has Saturday/Sunday split on the weekend. Who really thinks, Oh its Sunday start of the week!
    Monday is really the start of the week, right after the WEEK END, and that's how I like my calendars displayed. Monday thru Sunday.

    http://en.wikipedia.org/wiki/ISO_8601

    1. Re:Stardards related by mooingyak · · Score: 1

      What I hate how the US has Saturday/Sunday split on the weekend. Who really thinks, Oh its Sunday start of the week!
      Monday is really the start of the week, right after the WEEK END, and that's how I like my calendars displayed. Monday thru Sunday.

      Or alternately, much like 'bookends', you have one at each end of the week.

      --
      William of Ockham had no beard. The most likely explanation is that it was chewed off by squirrels every morning.
    2. Re:Stardards related by rk · · Score: 1

      Then Saturday wouldn't be part of the week-END, now would it?

    3. Re:Stardards related by KingMotley · · Score: 1

      Monday is really the start of the week, right after the WEEK END

      Well, if the first day of the week is Sunday, and the last day is Saturday, what days mark the ends of the week? Thinking of the last day of the week as the end only works when you think of time being one directional.

    4. Re:Stardards related by Perky_Goth · · Score: 1

      Well, in Portuguese Monday is literally "The second market day".

    5. Re:Stardards related by Dragonslicer · · Score: 1

      What I hate how the US has Saturday/Sunday split on the weekend. Who really thinks, Oh its Sunday start of the week! Monday is really the start of the week, right after the WEEK END, and that's how I like my calendars displayed. Monday thru Sunday.

      I had always thought that this was a holdover from the Jewish calendar, where Saturday is the last day of the week. In Hebrew, Sunday is "first day", Monday is "second day", etc.

    6. Re:Stardards related by rts008 · · Score: 1

      That won't work unless time flows both ways.

      --
      Down With Slashdot BETA!!! I've been around the corner and seen the oliphant; you can only abuse me from your perspecti
    7. Re:Stardards related by multimediavt · · Score: 1

      I always push for the ISO 8601 time formats. I like seeing YYYY-MM-DD on my time stamps. Wish this was the industry standard for logging, file systems, etc.

      What I hate how the US has Saturday/Sunday split on the weekend. Who really thinks, Oh its Sunday start of the week! Monday is really the start of the week, right after the WEEK END, and that's how I like my calendars displayed. Monday thru Sunday.

      http://en.wikipedia.org/wiki/ISO_8601

      Except a week has two ends and they fall at the ends of the week, Sunday being the first day of the week and Saturday the last according to the Greco-Roman tradition. There are/were Monday starters in most of Eastern Europe, China and Mongolia. Swahilli start on Saturday as they base a day on sunrise and not sunset.

    8. Re:Stardards related by fatphil · · Score: 1

      Were Saturday and Sunday to be refered to as a pair of weekends, your analogy would be perfect.

      --
      Also FatPhil on SoylentNews, id 863
    9. Re:Stardards related by BasilBrush · · Score: 2

      what days mark the ends of the week?

      The problem with you line of thought is that the weekend is singular, not plural.

    10. Re:Stardards related by BasilBrush · · Score: 2

      Except a week has two ends and they fall at the ends of the week

      It's always been "the weekend". Singular, not plural.

      Sunday being the first day of the week and Saturday the last according to the Greco-Roman tradition

      No. The Romans had the concept of Saturday and Sunday being the weekend. Not Sunday being the start of the week.

      The whole concept of a week having an end, rather than it's reality as being a continuous cycle, comes from the bible, where The sabbath was the 7th day. So Saturday being the end of the week is a Jewish tradition, and Sunday being the end of the week is a christian one.

      In things that have a natural direction, start comes before end. Sunday is part of the weekend, therefore the week started the previous Monday. So long as "weekend" is singular, the implication is that Monday is the start of the week.

  19. Time to make the move to fix the 2038 bug by Joe_Dragon · · Score: 1

    Time to make the move to fix the 2038 bug

    1. Re:Time to make the move to fix the 2038 bug by KingMotley · · Score: 1

      I'm prepping now for the 2038 year bug where validating ancient systems will make me a fortune because I'm the only person left on the planet who still understands the Windows 95 interface! I'm so going to be rich!

    2. Re:Time to make the move to fix the 2038 bug by thogard · · Score: 2

      Much fun can be had by convincing a Solaris machine that the date is in the 1800s since it appears that dynamic libraries don't work then due to a bug in the dynamic linker. I'm guessing that bug will show up sometime in the future too. The interesting part is there doesn't appear to be a way to put the kernel into the 1800s via any standard API. The FORTH boot loader can be told to play games with the hardware clocks on some machines which can then be used to simulate these time travelling machines.

  20. Adding Date/Time by PktLoss · · Score: 1

    Standards for Date/Time are one thing, I've had a lot of trouble trying to standardize on adding Dates. What's August 31st + 1 Month?

    See: http://stackoverflow.com/q/7614361/37462

    1. Re:Adding Date/Time by KingMotley · · Score: 1

      Well, since "1 Month" isn't a fixed time period, so it could be anything from 28-31 days, and if you need a more precise measurement, you need to use a more precise operand. However, I suspect that most people would assume that August 31 + 1 Month would be either September 30, or October 1 depending which benefited you the most. Then again, in some fields (financial), a "month" is always defined to be 30 days regardless of which month you are referring to.

  21. Time+/- an hour? Meh. Try dates. by ReallyEvilCanine · · Score: 1

    Jesus fucking Christ on a crackery cross, do any of you code monkeys have any idea just how many possible years today is? No, I know you don't. You know how I know this? Because you myopic fucktards have been the reason my phone has been ringing and my mail client actually crashed from overload today. So fuck you, and thank you, because I get to look super-smart and that pays the bills here in the DogPound.

    Even in the fucking "Western World" we live with the Mexican stand-off of Gregorian vs. Julian calendar, and that's just the start. Entire chunks of software -- enterprise software, the shit that has to actually pass all sorts of testing -- had to be rewritten because Catholic Spain feels all butthurt if the calendar starts on Sunday. And since you're at it, well, nearly atheist yet officially religious Iceland kinda likes to have the week start on Mondays, too, and the Icelandic name for Tuesday starts with a non-ASCII character.

    Today is one of around 100 different, official dates depending where you are and who you're asking.

    1. Re:Time+/- an hour? Meh. Try dates. by xaxa · · Score: 1

      Most, possibly all, of Europe starts the week on a Monday.

      I was taught an old rhyme when I was a child:
      Solomon Grundy,
      Born on a Monday,
      Christened on Tuesday,
      Married on Wednesday,
      Took ill on Thursday,
      Grew worse on Friday,
      Died on Saturday,
      Buried on Sunday.
      That was the end,
      Of Solomon Grundy.

      (It annoys me slightly if an American calendar shows the weekend split. I often have events across Saturday and Sunday; displaying them is clearer when Saturday and Sunday are adjacent.)

    2. Re:Time+/- an hour? Meh. Try dates. by qwak23 · · Score: 1

      It could be worse, while Japan will generally work on the same year as everyone else, sometimes they like to throw in the traditional dates where the year is based on the current emperor, which means if you want to convert from one to the other you need a few history books.

  22. RFC2550 Compliance by Mr.+Sketch · · Score: 5, Interesting

    We have quite a lot of them, but we don't have many systems that are fully RFC2550 Compliant:
    https://tools.ietf.org/html/rfc2550

  23. Re:Time Standards vs. Time Formats, and Y10K probl by multimediavt · · Score: 1

    IMHO, time standards are all relative. Everything is measured relative to some celestial event: e.g., the sun rising and setting, the Earth going around the Sun, the Moon going around the Earth, the position of constellations in the sky, etc. As long as you know the origin point relative to what standard you're using and know the celestial event method used for the standard, the conversions would not be that nightmarish. Now, the degree of precision would be based on the accuracy of the origin information relative to your converted calendar and the precision of the calculation used for tracking the celestial events as originally used in the old calendar (as modern measurements of these events may introduce additional drift). So, the precision of the conversion would also be relative to the application. For accountants it would be REALLY important. For paleontologists, not so much but a little helpful.

    ADDENDUM: The second is the only time measurement that I think is completely arbitrary. They have been trying for years to standardize it on some element's radio active property (cesium-133, I believe) to give it credibility, but as far as measurements of time go, the second is probably the most ridiculous. I still think it was invented by the Dutch East India Company (or the like), as it was most likely only useful to ship's navigators before anyone needed a time division less than an hour to do anything, or need be reminded by a bell.

  24. Re:I'm not one for reddit, I must say by Teun · · Score: 1
    Oh it's not just Americans that claim they have physical discomfort due to this one hr. change twice a year.
    I honestly think they are moaners for the sake of moaning, it's sixty minutes and it's for the vast majority of people during a two-day weekend they have off from work and other pressing engagements.
    Many of them have no problem going out Friday and Saturday night till the break of dawn but those sixty minutes is going to cause them oh so much grief.
    Come on, some nights there's something special on TV and you stay up for two hrs. more, other nights there's nothing happening and you turn in half an hr. early.

    Or do they truly want to tell me they set the clock for bedtime just as accurate as they set their alarm in the morning?
    Seven times a week at the exact same time?

    --
    "The likes of Facebook and WhatsApp are free to those whose privacy is of zero value."
  25. Swatch Internet Time by Scorpinox · · Score: 5, Funny

    Swatch Internet Time is truly the savior to all of this trouble. http://en.wikipedia.org/wiki/Swatch_Internet_Time

    The whole time zone thing is just ridiculous in this age of information. When I'm too busy cruising the information super highway, I don't want to worry about whether the person I'm on IRC with is in London or Sydney. And for that matter, seconds? minutes? Relics of the past. Just divide the day into 1,000 beats and you're good to go.

    So what if no one has any sense of what 10 beats is (14 minutes 4 seconds), and so what if it was created by a watch maker probably to sell more watches. Swatch Internet Time is the wave of the future, man! Throw your grandfather clocks away and dial-up to greatness on your 56k. You don't want to be left behind in the Swatch revolution!

    1. Re:Swatch Internet Time by bloodhawk · · Score: 1

      Where someone is in the world and time and date are now more important than ever with the information age. Getting items shipped to you, expectations of response times are hugely dependent on the time of day and date. e.g. it is no use me getting pissed off that the American company I am trying to contact from Australia on a Monday is not answering as it is the middle of sunday evening for them, or perhaps a public holiday. It becomes even more important with delivery times as public holidays and weekends and business hours all affect time frames for many 24/7 web sites.

    2. Re:Swatch Internet Time by phantomfive · · Score: 1

      It might be good idea for people who spend a lot of time in different time zones and such, but let's face it, the vast majority of people rarely leave their own timezone, and many people never leave it. What's the point?

      --
      "First they came for the slanderers and i said nothing."
    3. Re:Swatch Internet Time by rtaylor · · Score: 1

      I've found running a 24/7 website, that day or week and time of day really don't matter. Either someone is working or you risk losing business regardless of the date, holiday, or time of day.

      --
      Rod Taylor
  26. many by __aaltlg1547 · · Score: 1

    There are quite a number. There are a number of completely different CATEGORIES of time formats.

    For time presentation, there are analog and digital formats. Analog presentation format we are familiar with on watches and clocks is one of them. There is also an analog time presentation format where the hour hand turns once a day instead of once per 12 hours, and seemingly endless variations on these. There are time strip recording charts, timeline graphs, etc. Digital time presentation formats include your familiar hours-minutes-seconds digital clock. On scientific timekeeping equipment, we often also display numeric day of year (1 through 366). Other clocks display calendar month and date. Computer systems display it many different ways and it's often configurable.

    For transmission of time codes, there are several varieties of IRIG in AM and DCLS. There is NTP and PTP (both of which comprise a transmission standard and method of synchronization), and Windows Time, which is like NTP only not as precise. There's the coding used on GPS. I don't know if GLONASS uses the same as GPS or not, but I expect they did it differently just to be different. There's the method used on LORAN... You get the picture: lots of ways of transmitting the same information -- or almost the same information. There is a variety of more precise systems used for recording and playback of signals.

    And then we get to time scales. There's not just one unique answer to what time it is. The US government supports two time scales: NIST (National Institute of Standards and Technology) and USNO (United States Naval Observatory). USNO is the basis of GPS time. There are national time scales in a number of countries, notably France and each is a little different, but the national timescales talk to each other. Some timekeeping systems have leap seconds and some don't.

    At a more gross level, there is the Gregorian calendar, which we use for everyday time keeping and Modified Julian Day, which is different and doesn't have any discontinuities across our current epoch. Then there are a host of ethnic and national calendars, liturgical calendars and no-longer-used calendars like the Julian calendar.

    In short, too many to count.

  27. Month-day vs. day-month order by ortholattice · · Score: 1

    Although this doesn't answer the article's question, I think it is relevant to the topic.

    One of my peeves (that sometimes has been the cause of actual problems and misunderstandings) is the ambiguous dates that result from the American tradition of using the month,day,year order vs. most of the rest of the world's day,month,year.

    Most people here would probably agree that year,month,day is the best standard because it's logical, sorts easily, and virtually no one writes year,day,month. However, the rest of the world is not logical, and people will continue to use their local standards for better or worse, even though "we" know better.

    Given that, I've noticed that Americans typically separate the fields with slash "/" and everyone else with either dash "-" or dot ".". But not always. I've seen Americans use dashes (often less-educated ones, not sure why) and I've seen Europeans use slashes (though rarely).

    Here is my modest proposal. Always use "/" for the American convention, and always use "-" or "." for the non-American convention. So today is 3/10/2013 or 10-3-2013 or 10.3.2013, completely unambiguously.

    1. Re:Month-day vs. day-month order by qwak23 · · Score: 1

      Just to add confusion, I'm going to start pimping the following date format:
      %YYY!MM@DD#YY:HH(MM)^SS"SSS&ZZZZZ=
      Where YYY is the first 3 digits of a 5 digit year (and it will start fresh from July 19th this year being the first day of the year). MM will be the 2 digit month in a 13 month year (with 00 reserved for new years day, the only day of the year that is month less). DD will range from 01 to 28, except for the new year day which will be 00. HH and MM will be standard hours and minutes as we use them now, SS"SSS will be seconds (SS) and milliseconds (SSS) and ZZZZZ will be the +/- offset in hours and minutes from UTC. So on July 19th this year the date format will read: %000!00@00#00:00(00^00"0000&+0000= (for UTC)

      I think we can all agree that adoption of the above standard worldwide will greatly improve everything and for the programmers, you have a ton of special characters to mark the start of new fields making it easy to separate out the parts you need. Also, since it implies a shift of calander, we no longer have to worry about the number of days in each month as it is fixed at 28. New years day will also not count as a day of the week, and keeping with the much hated/lauded American convention, !01@01 will always be a Sunday, and the week will always start on Sunday. This also has the benefit that your birthday will always fall on the same day of the week, as will all other holidays. The benefits of this to school and commerce should be obvious.

    2. Re:Month-day vs. day-month order by wvmarle · · Score: 1

      China uses year-month-day as format. They are very consistent in that, as they always start "largest first". Addresses (country-province-town-street-number) and names (last name - first name) the same.

      However when not using the year when writing a date it becomes ambiguous. They often write month/day. But not always. Especially in Hong Kong where the British standard day/month/year is also commonly followed, that is also how for example you have to write a date on a bank cheque.

      The only reliable workaround: today is 11 Mar. Not 11/03 or 03/11.

    3. Re:Month-day vs. day-month order by BasilBrush · · Score: 2

      I'm British. We most commonly do dd/mm/yy. with a small minority of people doing dd-mm-yy.

      The French also use dd/mm/yy. Not sure about the rest of Europe.

      So your proposal won't work.

    4. Re:Month-day vs. day-month order by DrVxD · · Score: 1

      I've seen Europeans use slashes (though rarely).

      I guess it depends on which part of Europe you're looking at. I find slashes are pretty common in my part (my cheque book - and many forms - have them pre-printed, for example)
      Then again, I never write dates in US format. I either write DD/MM/YY, or YYYY-MM-DD, depending on the context.

      --
      Not everything that can be measured matters; Not everything that matters can be measured.
  28. Re:I'm not one for reddit, I must say by Tyler+Durden · · Score: 1

    No, we can't change the time we start work, no we're NOT going to see business's move to an 8-4 model.

    Why, because that would make sense?

    --
    Happy people make bad consumers.
  29. Re:I'm not one for reddit, I must say by 0123456 · · Score: 1

    You change time twice a year?

    You're kidding, right? That's the funniest idea I've heard today.

  30. Re:I'm not one for reddit, I must say by __aaltlg1547 · · Score: 1

    You know what's even more annoying than that? People who complain about what other people want to discuss. If you don't want to discuss it, then shut the fuck up and let those who care about it discuss it to their heart's content.

    We weren't even discussing DST. Just time formats and timekeeping. Is that not nerd-fodder?

  31. Ethiopian calendar by mcswell · · Score: 2

    Not sure if this is what the OP is looking for, but my favorite is the Ethiopian calendar (no, I'm not Ethiopian). It's about seven years behind us, which meant that they avoided the Y2K catastrophe until 2007.

    Oh, there wasn't any catastrophe?

    1. Re:Ethiopian calendar by DrVxD · · Score: 1

      Thailand, on the other hand, cleverly negotiated Y2K by having it 500 years before the invention of the computer.

      --
      Not everything that can be measured matters; Not everything that matters can be measured.
  32. Excellent book reference by khb · · Score: 1

    http://www.amazon.com/Calendrical-Calculations-Millennium-Edward-Reingold/dp/0521777526 while it doesn't necessarily answer the question posed, people interested in computing calendars shouldn't miss this book.

    I have no vested interest, it's not my name on the cover ;>

  33. Re:Time Standards vs. Time Formats, and Y10K probl by girlinatrainingbra · · Score: 1

    Yes, what I gave is a time format. My entire second paragraph is about time formats, and I gave the example in the 2nd paragraph as an e.g. of a "time format". I was pointing out that the poster of the article seems to be confused about the difference between time standards and time formats and the interconversions and possible errors. Unix time is time readable also. it's just not as useful to most people. It's like giving someone the local temperature in "Kelvin" degrees. If it's a format which they're not used to, then they need to do mental contortions and conversions into a format/representation with which they are conversant and familiar and which has applicability and utility.

  34. Re:I'm not one for reddit, I must say by Rob+the+Bold · · Score: 1

    You change time twice a year?

    You're kidding, right? That's the funniest idea I've heard today.

    Please tell me you change your time a non-zero, odd number of times per year. Because that would be really cool . . .

    --
    I am not a crackpot.
  35. I goofed. My code from the past two years isn't working right because of the M6000 bug -- I assumed there was no point for code to work past December 21 of last year.

    I also assumed they wouldn't want their money back.

    --
    (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
  36. Re:I'm not one for reddit, I must say by fox171171 · · Score: 1

    I think the arguement in general against DST is not the time, but the change. Most people I hear complain, like myself, would like to see the time go ahead in the Spring, then scrap the whole time change crap permanently. Then call it "standard time" all year long.

  37. How simple and beautiful is a date by mlookaba · · Score: 1

    My company has a timestamp class that contains 2000 lines of code.

    And 150 methods, some of which are duplicates, but just misspelled.

    Headed over to The Daily WTF right now. :(

    1. Re:How simple and beautiful is a date by DrVxD · · Score: 1

      2000 lines is pretty tight if it can cope with *all* localities correctly. I'm guessing that it can't...

      --
      Not everything that can be measured matters; Not everything that matters can be measured.
  38. Re:Time Standards vs. Time Formats, and Y10K probl by PlusFiveTroll · · Score: 3, Informative
  39. Re:Time Standards vs. Time Formats, and Y10K probl by OneAhead · · Score: 5, Informative

    Dude, how on earth can you get it all so badly wrong? Is this a subtle postmodernist troll or something? Sorry if it isn't, starting a discussion on a scientific subject with "IMHO" sets off my bullshit alarm.

    Historically, a day was defined as 1 earth rotation. An hour was 1/24th of a day, a minute as 1/60th of an hour, and a second as 1/60th of a minute. Hardly very arbitrary, is it? Problem is, turns out that there are constant fluctuations and drift on the length of a celestial day (and year). This is very impractical because there are no known clock mechanisms (bar the solar system itself) that can catch these fluctuations, so humanity needed a more solid definition of time for entirely irrelevant tasks such as performing precise scientific measurements and keeping GPS sattellites in sync. Common off-the-shelf clock mechanisms couldn't be used for this purpose because they also fluctuate too much. Instead, we redefined the lenght of a second based on an immutable physical property: the duration of 9,192,631,770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the caesium 133 atom. Cesium was "arbitrarily" chosen because of atomic clock engineering and accuracy considerations, the hyperfine transition was "arbitrarily" chosen because it is not too easy to skew, directly relates to a physical constant and can be measured in a reasonably convenient way, and the number 9,192,631,770 was "arbitrarily" chosen to make the SI second as close as possible to the then-best estimate of the average duration of the celestial second (1/86400 of a day). Then we redefined the SI minute, hour, day,... based on that physically immutable(*) second. Problem is, that didn't stop the earth rotation and solar system from fluctuating. And that's why we have leap seconds now and then; to keep our non-arbitrary SI-based time in sync with the arbitrary vagaries(+) of the solar system.

    (*) Well, pretty immutable for the practical applications you're going to care about. There's always room for improvement.
    (+) To be precise, orbital mechanics are well-understood so in that sense they're not random.(#) Problem is, it's a chaotic system, so no matter how precise we measure all the boundary conditions, a simulation of the solar system will over time deviate more and more from reality. That's why leap seconds are based om measurements.
    (#) If you look even deeper into the subject, there are solar winds and weather-dependent tidal effects contaminating the whole shebang with fluctuations we can't even predict a few weeks in advance because they're complex. So yeah, arbitrary.

  40. I wrote my own in 1992. Sorry. by Rob+the+Bold · · Score: 1

    Sorry, I wrote my own in 1992. It's unintentionally similar to the ISO standard. My only goal was to make timestamps easy to sort using alphanumeric methods available to a BASIC interpreter on a barcode scanner while still being mostly human-readable .

    My unintentional and unauthorized contribution to the proliferation. I assume plenty more examples also exist.

    Again, sorry. At least I never submitted it to any legitimate standardization body.

    --
    I am not a crackpot.
  41. Re:I'm not one for reddit, I must say by qwak23 · · Score: 1

    And then there are people like me who would prefer the opposite ;)

  42. Re:Time Standards vs. Time Formats, and Y10K probl by rssrss · · Score: 4, Informative

    The standardization of the second took place 46 years ago. It is now the basis of SI, the international system of standards. The following is from NIST, the Federal Government agency in charge of standards:

    "The unit of time, the second, was defined originally as the fraction 1/86 400 of the mean solar day. The exact definition of "mean solar day" was left to astronomical theories. However, measurement showed that irregularities in the rotation of the Earth could not be taken into account by the theory and have the effect that this definition does not allow the required accuracy to be achieved. ... Experimental work had, however, already shown that an atomic standard of time-interval, based on a transition between two energy levels of an atom or a molecule, could be realized and reproduced much more precisely. Considering that a very precise definition of the unit of time is indispensable for the International System, the 13th CGPM (1967) decided to replace the definition of the second by the following ...:

    "The second is the duration of 9 192 631 770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the cesium 133 atom."

    Not only that but, length is now defined in terms of the second:

    "In turn, to further reduce the uncertainty, in 1983 the CGPM replaced this latter definition by the following definition:

    "The meter is the length of the path travelled by light in vacuum during a time interval of 1/299 792 458 of a second.

    "Note that the effect of this definition is to fix the speed of light in vacuum at exactly 299 792 458 mÂs-1. The original international prototype of the meter, which was sanctioned by the 1st CGPM in 1889, is still kept at the BIPM under the conditions specified in 1889."

    --
    In the land of the blind, the one-eyed man is king.
  43. Hebrew Calendar by the+eric+conspiracy · · Score: 1

    Bwahahahahaha.

    Day starts at sundown.
    Months are lunar and vary year to year.
    Some years have more than one month with the same name. Sometimes the calendar is adjusted to account for natural events.
    Sometimes extra months (leap month) are added.

    There are variations on this theme as well,
    Tannaitic
    Amoraic
    Maimonides the Mishneh Torah in the 12th century (starts the AM era)

    Oh wait there is more (from Wikipedia)

    There are additional rules in the Hebrew calendar to prevent certain holidays from falling on certain days of the week. (See Rosh Hashanah postponement, below.) These rules are implemented by adding an extra day to Marcheshvan (making it 30 days long) or by removing one day from Kislev (making it 29 days long). Accordingly, a common Hebrew calendar year can have a length of 353, 354 or 355 days, while a leap Hebrew calendar year can have a length of 383, 384 or 385 days

  44. The reason it's so complicated by dkleinsc · · Score: 1

    The fundamental problem is this: There are 4 naturally occurring measurements of time, all of which are in common use, and none of them are consistently expressible in terms of the other.

    The 4 are:
    - Years (Based on Earth's revolutions of the sun)
    - Lunar months (Based on the moon's revolutions of the Earth)
    - Days (Based on Earth's rotation)
    - Periods of the radiation of ground state cesium 133 (which form the official SI definition of a second)
    And of course you have lots of artificial units of time measurement defined or mangled from those naturally occurring 4, for convenience, with concepts dating back to the Sumerians. These were mostly created because humans have a tough time interpreting large numbers.

    That's why you have at least 6 parts of an ISO-8601 date: The problem is inherently complicated, there is no easy way out.

    --
    I am officially gone from /. Long live http://www.soylentnews.com/
  45. Database Storage Format by corychristison · · Score: 1

    As much as I like the UNIX time format, it is very limited on 32 bit systems.

    I store mine in the YYYYMMDDhhmmss format. I stick to GMT/UTC for the timezone. Stor it as a CHAR(14) and you're set for another 7986 years.

    The beauty of this is it fits in fixed character space, entirely numeric, is easily sortable, and easy to select by range. It is still fairly easy to manipulate, just not as easy as UNIX. It is also just as easy to break out and reformat using regex's.

  46. Re:Time Standards vs. Time Formats, and Y10K probl by unixisc · · Score: 1

    Actually, the arbitrary thing above was the choice of numbers - why 24 or 60? The one earth rotation is fine, and pick the one of the equinoxes to define the day that will be used. Actually, today, given the computer based time standards, why not take it and redefine it a bit? Divvy up the day into 16 hours, divvy up the hours into 64 minutes and divvy up the minutes into 64 seconds. That simplifies the design of digital clocks, which would only need counters & shift registers to calibrate time. Of course, that simplicity ends there, since we can't redefine a year if it's based on the earth's revolution around the sun. While at this, it's a good idea to come up w/ binary based systems of measuring length and mass, as well as replacing the decimal system w/ a hexadecimal system, w/ 6 new notations on a 7-segment display to represent a-f.

  47. Re:Big and Little Endian Systems by calidoscope · · Score: 1

    HP-PA RISC and M68K were both big-endian processors, X86 is little endian. My guess is you were working on an x86.

    --
    A Shadeless room is a brighter room.
  48. Re:Time Standards vs. Time Formats, and Y10K probl by multimediavt · · Score: 1

    Historically, a day was defined as 1 earth rotation.

    And that's where you went wrong. Historically, a day was one sunrise to the next. Yeah, a celestial event. So, anything smaller than that when it was first used was arbitrary(*) and we've been trying to make them make sense since.

    (*) Read this very carefully as you quoted only part of it. "Between 1000 (when al-Biruni used seconds) and 1960 the second was defined as 1/86,400 of a mean solar day". So, that means before the year 1000 the second did not exist as a defined standard; and may not have existed at all; still fuzzy on that. The minute I have not been able to dig up information on as to when it was first conceived. What you then quoted were modern (Late Common Era) definitions of what a second is, not where it came from and why it first was a "second". Their origins may not truly be that arbitrary as they did emerge from some systematic approach that required their existence, true. But why 60ths? Was a minute always that long? Time is a weird thing that we should always be asking questions about. So is "spooky" action at a distance. Effing Einstein!

  49. Re:I'm not one for reddit, I must say by geezer+nerd · · Score: 1

    I arrived in NZ to live on Oct 1, 2006. That happened to be the first Sunday in October, and according to the rules was the day that Daylight Time started in 2006. During 2007 there was rather intense lobbying to have the start date of Daylight Time be moved earlier so the extra daylight could be enjoyed sooner.

    The change happened, and for 2007 the changeover date was set to be the last Sunday in September going forward. My what an outcry there was from many people protesting the awful disruption that change would cause them for days on end. Really, just bitter protests!

    It turned out that the last Sunday of September in 2007 was September 30. So, compared to 2006, the change happened all of 1 day earlier. I really had to laugh at all the heat of the protests that had been put forward for really no reason. It was a hoot!

  50. Re:Time Standards vs. Time Formats, and Y10K probl by meustrus · · Score: 5, Interesting

    24 and 60 were not arbitrary. They were chosen by ancient Babylonians because they are cleanly divisible by many numbers; 24 by 2, 3, 4, 6, 8, and 12, and 60 by 2, 3, 4, 5, 6, 10, 12, 15, 20, and 30. It was important to be able to divide time cleanly because they didn't have fractions or decimals at the time. Citation needed, of course, but I don't have time to find a source and this is something I remember from when I was a kid.

    --
    I sometimes ask revealing, often ignorant-seeming questions. Maybe they're harder to answer than you think.
  51. Re:Time Standards vs. Time Formats, and Y10K probl by lingon · · Score: 1

    Historically, a day was defined as 1 earth rotation.

    And that's where you went wrong. Historically, a day was one sunrise to the next.

    That doesn't make sense since humanity have been living on parts of the Earth with constant night during winter and constant day during summer since god knows when. "One sunrise to the next" doesn't make sense there. There were probably local units all over the place.

    Read this very carefully as you quoted only part of it. "Between 1000 (when al-Biruni used seconds) and 1960 the second was defined as 1/86,400 of a mean solar day". So, that means before the year 1000 the second did not exist as a defined standard; and may not have existed at all; still fuzzy on that.

    I have a hard time imagining all people on Earth of the 11th century all agreeing on the definition of time units at all, let alone on the second. It's probably one of those things where the now standardized time units of hours, minute and second was used more and more, and gradually took over any existing local units and standards.

    But why 60ths? Was a minute always that long?

    I imagine it's because it was convenient to divide the minute in the same way as the hour. There's 60 minutes in an hour thanks to the Babylonians, who used that as their base (just as we use base-10).

  52. Re:Time Standards vs. Time Formats, and Y10K probl by mpe · · Score: 1

    The minute I have not been able to dig up information on as to when it was first conceived. What you then quoted were modern (Late Common Era) definitions of what a second is, not where it came from and why it first was a "second". Their origins may not truly be that arbitrary as they did emerge from some systematic approach that required their existence, true. But why 60ths? Was a minute always that long?

    IIRC "second" is short for "second minute". The same terms are also used for angular measurement with one degree being 60 minutes or 3,600 seconds. Wonder if the terms were first applied to time or angles.

  53. Re:Time Standards vs. Time Formats, and Y10K probl by Chrisq · · Score: 2

    Isn't that somewhat close to ISO 8601? I generally find it good and sensihle, helps with sorting and reading.

    However it is a bit short-termist. I prefer RFC2550 as a long-term solution

  54. Re:Clearly.... by reboot246 · · Score: 1

    "How can I get anything done with all this time on my hands?"
    ~ The Octopus

  55. EXIF's one is stupid. by Bazzargh · · Score: 1

    http://www.awaresystems.be/imaging/tiff/tifftags/privateifd/exif/datetimeoriginal.html

    "For a digital still camera, this is the date and time the picture was taken or recorded. The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character (hex 20)."

    Anyone who's travelled much has discovered this one - the timestamps on your camera are stuck in one timezone. No really, the standard *mandates* doing this wrong, resulting in pain and anguish for devs who have to deal with it:
    http://search.cpan.org/~porridge/Image-EXIF-DateTime-Parser-1.2/lib/Image/EXIF/DateTime/Parser.pm

    This date format was grandfathered into the first version of freedesktop.org's file metadata spec, but after some shouting in the feedback, it changed to using the saner ISO8601 format *with* timezone.

  56. Re:I'm not one for reddit, I must say by gravis777 · · Score: 1

    Completely agree - I like in the summer, it not getting dark until 8 or 9 and your sun isn't coming up at 4AM, and in then in the winter setting the clocks back so that the sun comes up at about 6-7 instead of around 8. Daylight Savings Time does exactly what it says - saves LIGHT for the DAY.

    Most of us have computers, phones, and atomic (ahem really radio) clocks that update themselves - all I have to do is update the old alarm clock and the clock in my car.

    Most modern calendar systems (such as Exchange) take timezones and Daylight Savings Time into effect, even across areas that observe DST at different times or across areas that don't observe DST.

    So seriously, what is the worst that happens? You loose an hour of sleep? Go to bed earleir! You have to set forward or back a couple of older clocks? Boohoo, that takes, how long, under a minute per clock? You are late for work on Monday? Seriously, did you not realize that everything was off an hour on Sunday (argument doesn't hold, though, if you are like me and work on Sundays)?

    I think people just like to moan and complain.

    As for the original post, I am getting really pissed off at Ask Slashdot topics where the person could google the answer faster than they can type up a question to slashdot.

    http://lmgtfy.com/?q=how+many+time+zones+are+there

    add that to

    http://lmgtfy.com/?q=how+many+different+calendars+are+there

    In particular, on the second link, I found this:

    http://www.hermetic.ch/cal_stud/lunarcal/types.htm

    Which state there are over 40 different calendars in use

    So, I got 40 time zones, and 40 different calendars.

    Now, if you want to get technical, instead of adding them, you would multiply the two, as each calendar could be used in any of the 40 time zones.

    40*40 = 1600 POSSIBLE variations across the planet.

    Seriously, people, learn how to use Google!

  57. Re:I'm not one for reddit, I must say by gatkinso · · Score: 1

    Why not create a news for nerds website based in your shithovel then?

    --
    I am very small, utmostly microscopic.
  58. Re:Time Standards vs. Time Formats, and Y10K probl by Anonymous Coward · · Score: 1

    Ref: Carl Boyer A History of Mathematics - Chapter III. Mesopotamia 26, 2 Positional numeration.

    As the Akkadians adopted the Sumerian form of writing, lexicons were
    compiled giving equivalents in the two tongues, and forms of words and
    numerals became less varied. Thousands of tablets from about the time of
    the Hammurabi dynasty (ca. 1800-1600 B.C.) illustrate a number system that
    had become well established. The decimal system, common to most civiliza-
    tions, both ancient and modern, had been submerged in Mesopotamia
    under a notation that made fundamental the base sixty. Much has been
    written about the motives behind this change; it has been suggested that
    astronomical considerations may have been instrumental or that the
    sexagesimal scheme may have been the natural combination of two earlier
    schemes, one decimal and the other using the base six. It appears more
    likely, however, that the base sixty was consciously adopted and legalized
    in the interests of metrology, for a magnitude of sixty units can be subdivided
    easily into halves, thirds, fourths, fifths, sixths, tenths, twelfths, fifteenths,
    twentieths, and thirtieths, thus affording ten possible subdivisions. Whatever
    the origin, the sexagesimal system of numeration has enjoyed a remarkably
    long life, for remnants survive, unfortunately for consistency, even to this
    day in units of time and angle measure, despite the fundamentally decimal
    form of our society.

  59. Re:Time Standards vs. Time Formats, and Y10K probl by Sigg3.net · · Score: 1

    The minute was, of course, the time a chore had been done minus the time the chore was stated as going to be executed 'in a minute'.

    For thousands of years then, the minute varied from 30 seconds to 60 days, but as the convention of marriage became written in stone we've seen a stern narrowing of the time window accepted to be within a minute, until the advent of the digital wristwatch which settled the matter once and for all.

    Today we don't say 'in a minute' as often, but instead "I'll get right on it", "it's got full priority" and "why don't you send me an email about it?".

  60. Re:Time Standards vs. Time Formats, and Y10K probl by Sigg3.net · · Score: 1

    "The standardization of the second took place 46 years ago."

    Whoa there! You still haven't explained how we settled on the first!

  61. Re:Time Standards vs. Time Formats, and Y10K probl by evilbessie · · Score: 1

    They also counted in base 60 using the knuckles of the fingers of one hand (using the thumb as a marker) and the fingers of the other hand for 5x12 counting system. There are some people who stand by this or the duodecimal system.

  62. Google doodle dispalyed amazing video by qptopm · · Score: 1

    Google Doodle displayed amazing video to Douglas adams 61th birthday, so i want to which technology they are used to created this video.If any one knows just share it.

  63. Re:Time Standards vs. Time Formats, and Y10K probl by Muad'Dave · · Score: 1

    pedandtic

    It's pedantic, as in:

    1: of, relating to, or being a pedant(see pedant)
    2: narrowly, stodgily, and often ostentatiously learned
    3: unimaginative, pedestrian

    Pedant:
    2a : one who makes a show of knowledge
    b : one who is unimaginative or who unduly emphasizes minutiae in the presentation or use of knowledge
    c : a formalist or precisionist in teaching

    This post is an example of definition 2a of pedant.

    --
    Tiller's Rule: Never use a word in written form that you've only heard and never read. You will end up looking foolish.
  64. I LIKE daylight savings time! by alispguru · · Score: 1

    What I don't like is the ridiculous way that the majority of the year is DST. DST used to be approximately half the year (end of April to end of October). It got extended for stupid, venal reasons:

    * Politicians wanted to look like they were "doing something" about the energy crisis
    * Certain businesses make more money during DST (basically any that sell outdoor activity gear), so they support any extension

    DST should be half the year, max.

    --

    To a Lisp hacker, XML is S-expressions in drag.
  65. I wrote a few calendar programs and found this by rraylion · · Score: 2

    1) so we all know and love the modern US and European way of calendar generation. 24 hours in a day, 365 +1 on leap year this is called the Gregorian Calendar.

    Well It took me by shock when I learned of the other different calendars when trying to create an international holiday calendar that correctly identified holidays that closed the trading markets. So here is a short summary.

    2) Julian time is the integer assigned to a whole solar day in the Julian day count starting from noon Greenwich Mean Time, with Julian day number 0 assigned to the day starting at noon on January 1, 4713 BC. (copied from wikipedia) this is used by Astronomers ALOT. And serves as a basis for translating between different calendar systems.

    3) The Chinese calendar is a lunisolar calendar, incorporating elements of a lunar calendar with those of a solar calendar. ( from wikipedia ) So basically the days are subject to the sun rising and setting just like the Gregorian calendar.. But the months are tied to the winter equinox. So the winter equinox MUST always fall within a certain month and then the rest of the calendar is built backwards, with a set number of days each, and sometimes you need an extra month to accommodate. It works and is very complex. If you own the book Astronomical Algorithms and know programming you will have enough information to create a calendar as accurate as the Chinese produce.

    4) The Hebrew or Jewish calendar ( , ha'luach ha'ivri) is a lunisolar calendar used today predominantly for Jewish religious observances.(taken from wikipedia). The current year of the Jewish calendar (16 September 2012 to 4 September 2013) is AM 5773. The Jewish day is of no fixed length. The Jewish day is modeled on the reference to "...there was evening and there was morning..." in the Creation account in the first chapter of Genesis. The really interesting thing I learned is that every hour is divided into 1080 halakim or parts. A part is 3 seconds or 1/18 minute. This makes predicting the moon extremely accurate to estimation. Also a Metonic cycle equates to 235 lunar months in each 19-year cycle. This gives an average of 6939 days, 16 hours, and 595 parts for each cycle. But due to the Rosh Hashanah postponement rules (preceding section) a cycle of 19 Jewish years can be either 6939, 6940, 6941, or 6942 days in duration. But this calendar is extremely easy to program.

    5) Arabic calendar. I never could figure out this calendar system. It is similar to the Jewish calendar but where one allows months to move progressively throughout the year the other is fixed so that months happen around the same time every year. I forget which one does which. Sorry, it been a while. This calendar is supposed to be very computer friendly as well, however I could not figure it out within the time frames of the project I was doing.

    6) The Hindi calendar is to my knowledge one of the most complex and complex, and complex ... did I mention complex calenders in existence. I never figured it all out. But it has to do with a month starting depending on where the moon is when the sun rises on a given day. It can be figured out, but because it is based on very complex dimensions like sunrise which varies based on location, and perceived placement of the moon, which varies by location, the calender is fractured into different version for different regions. I am sure it is a good calendar, I just don;t understand how it fits in a 21st century setting. Basically if you have to deal with someone using a Hindu calendar or need to write a contract and guarantee payments that you will get, base it on days, not months or years. Trust me you will save you and your organization brutal misunderstandings. Everyone agrees a day consists of nighttime and daytime.

    Those are the 6 calendars I dealt with. They represent the calendars in use by the biggest economies in the world. But there are more. What I learned that impressed me the most was that all of them outside of the Gregorian and Julian are anci

  66. Re:I'm not one for reddit, I must say by msauve · · Score: 1

    There's a long human history of noon being when the sun is highest. Standard time quantizes that to time zones. I can't see any reasonable justification for trying to change thousands of years of human history, development, and expectation by making 1 PM the time the sun is highest.

    --
    "National Security is the chief cause of national insecurity." - Celine's First Law
  67. Re:I'm not one for reddit, I must say by msauve · · Score: 1

    "Daylight Savings Time does exactly what it says - saves LIGHT for the DAY."

    Since DAY is when the sun is up, how does changing the way you number the hours change the amount of LIGHT in the DAY? (and do you somehow think that shouting your argument makes it true?)

    --
    "National Security is the chief cause of national insecurity." - Celine's First Law
  68. If in doubt... by LeadSongDog · · Score: 1

    ...ask The Doctor

    --
    Oh, I'm sorry sir, I thought you were referring to me, Mr. Wensleydale.
  69. Time Cube by the_arrow · · Score: 1

    Don't forget the Time Cube!

    --
    / The Arrow
    "How lovely you are. So lovely in my straightjacket..." - Nny
  70. New Age != Mayan by DragonWriter · · Score: 2

    We're deprecating the Mayan method since the world didn't end at the end of their time...

    The Mayan calendar doesn't end just because one cycle (and not even the longest cycle) in their calendar system ended. Its like saying that Gregorian calendar ended just because we reached the end of a month (say, August), even though the Gregorian calendar has longer cycles than months (e.g., years), and doesn't have any particular end-of-world prophecy associated with the end of the cycle at issue.

    The whole "end of the world" thing was a New Age myth inspired in part by Mayan legends about the end of an previous creation and the expiration of a particular cycle, not a Mayan belief.

  71. Regnal year by Waldeinburg · · Score: 1

    In the 5th year of Obama of USA ...

    1. Re:Regnal year by RockDoctor · · Score: 1

      ... After the dethronement of Bush the Second, son of Bush the First, adoptive son of RayGun the Incontinent.

      --
      Birds are not dinosaur descendants;birds are dinosaurs, for all useful meanings of "birds", "are" and "dinosaurs"
    2. Re:Regnal year by crutchy · · Score: 1

      i thought it was the year 12 after september 11

    3. Re:Regnal year by RockDoctor · · Score: 1

      i thought it was the year 12 after september 11

      Year 40 after September 11, don't you mean. The date that the USA lost what little moral authority and international reputation it ever had.

      (Overthrow of the democratically elected government in Chile, organised by the CIA. As if you'd forgotten.)

      --
      Birds are not dinosaur descendants;birds are dinosaurs, for all useful meanings of "birds", "are" and "dinosaurs"
  72. Re:Time Standards vs. Time Formats, and Y10K probl by Existential+Wombat · · Score: 2

    You could fix that though.

    http://what-if.xkcd.com/26/

  73. Re:Time Standards vs. Time Formats, and Y10K probl by Archangel+Michael · · Score: 1

    360 was also a close approximation of the year (365) and quite easily divisible as well, corresponding as a close approximation for a lunar month by the divisor of 12 (12x30). Additionally, a "season" was 1/4 of the year, meaning approximately 3 months. A week was approximately 1/4 of a month (4 x 7). When you realize that we are going from "close approximation" to "highly precise" you'll realize that these things start to look silly on the micro scale we're measuring now. However, to a nomadic/agrarian society, these measurements sufficed and quite nicely, especially when you consider that these people rarely exceeded 100 travel (radius) from their homes.

    I imagine that something like, "I'll meet you at that mountain, three days after the harvest full moon", was the "time keeping" of that day. It was an era of a more simple lifestyle.

    --
    Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
  74. Re:Time Standards vs. Time Formats, and Y10K probl by markhb · · Score: 1

    "Whoa there! You still haven't explained how we settled on the first!"

    I don't know! (He's on third!)

    --
    Save Maine's economy: write stuff down. All comments are exclusively my own, not my employer.
  75. Re:Time Standards vs. Time Formats, and Y10K probl by peawormsworth · · Score: 1

    Base 60 is an "ok" selection because it LCD's are 2 x 2 x 3 x 5. Which is a constuctable division of the circle. Meaning that with the primary tools of a compass and straight edge you can divide the circle into 60 equal segments. This is useful for historically accurate divisions of the sky. But the use of 360 is not. You cannot divide a circle into 360 equal parts with the above tools because it requires angle trisection. This means that our usage of 360 degrees and 360 seconds in an hour is a poor choice for accurate measurements. It is my opinion that the usage of 360 is derived in this manner:

    - a circle can easily be divided into 6 parts by using the radius as a chord along the perimeter.

    - the 6 segments were then divided into 60 due to the usage of base 60 in the number system.

    - also: 360 may have seemed like a good idea since it is approximately equivelent to the number of days in the year. So star locations move aprox 1 degree each night

    Anyhow, despite the fact that we continue to use 360 in time and angle division, it is a poor selection because it is generally impossible for any student of geometry to easily construct a 360 degree protractor using basic tools.

    For the record. Any protractor that has a value of 60 times some multiple of 2 is a "good" protractor. So 120, 240 and 480 degree protractors would have been far better selections

  76. Re:Time Standards vs. Time Formats, and Y10K probl by peawormsworth · · Score: 1

    They also counted in base 60 using the knuckles of the fingers of one hand (using the thumb as a marker) and the fingers of the other hand for 5x12 counting system. There are some people who stand by this or the duodecimal system.

    I have heard of this being used to reason why there are 12 hour divisions in the day. But I am skeptical because the counting mechanism has little to do with division of time and angle of the sun.

    I have come up with a different theory where the hands are used as a sundial to divide up the day. Open your hands and place them together palm up. Between the hand hold a pencil of straight stick. Position the stick so that it is directly between the creases where the thumbs separate from the palms. Now turn your hands so the shadow of the stick points to the first crease where the thumb seperates from the palm. You will see that as the sun moves through the sky, your hands will work as a sundial where creases of the thumb and fingers make for 12 divisions as the sun moves from horizon to horizon. Basically, anyone can make a sundial with their hands and a stick and it will provide for 12 divisions.

    As far as the origin of base 60, I think it came from instead a division of the circle into 6 using the equilateral triangle. One of the simplest divisions of the circle beyond a simpler diameter division into 2. Each of these 6 divisions was subdivided into 60 in order to match the change in the heavens every day. Meaning that the location of a star has an aproximate change of 1 degree every night.

  77. Re:Time Standards vs. Time Formats, and Y10K probl by peawormsworth · · Score: 1

    What I am trying to say is that I do not believe that our body parts were significant in the creation of time division or angle division. Instead nature was observed and used to set the stage for a meaningful counting system. The body parts were later used as a convenience for recording and remebering these values. We have a lot of things on our bodies in different numbers. The hands can be used to mimic just about any numbering system. So suggesting our hands as the reason for numbers does not provide any more reason for the usage of 60 then say using 10 or 8 or 5 or 25 or whatever combination of fingers, knucles or combination of hand signals available. For example, if the number base was 48, you could say the exact same thing and simply leave the thumb out of the equation in your counting system. ie: 12 *4 = 48

    Also note. Most people will suggest base 10 comes from humans having 10 finger/digits. But this is short sighted as it has no relation to the division of circle...which is historically where all numbers come from.. ie: division of angle and time. The true origin of decimal counting (base 10) comes from the realization of dividing the circle into 10. Which requires the understanding of Phi. The proportion of Phi is required in order to divide a circle into 10 equal parts because Cos 36 = Phi/2. Which simply says that a right triangle with a height of 2 and an hypoteneus of Phi will make a 1/10th division of a full circle. Since 36 degrees = 360/10. So the logical reasoning is that decimal number systems come from triangles using Phi.

  78. Re:Time Standards vs. Time Formats, and Y10K probl by peawormsworth · · Score: 1

    I have a hard time imagining all people on Earth of the 11th century all agreeing on the definition of time units at all, let alone on the second. It's probably one of those things where the now standardized time units of hours, minute and second was used more and more, and gradually took over any existing local units and standards.

    Ancient Egypt divided daylight into 10 hours and night into 10 more. A 20 hour day was useful because they also followed a 5 day week. So the hours in a week was 100 hours. Which was useful because their number system was decimal. Long before we used it. And also, the angular divisions of hours was 1/2Phi (sin 18). So a triangle representing the shadow change of the sun in one hour was easily constructed for cultures who knew about phi.

    We would probably have some sort of decimal system for both time and angle if we inherited our measurements from ancient egypt rather then babylonians. And we would probably be worshiping a sun god... which makes much more sense.

  79. Re:Time Standards vs. Time Formats, and Y10K probl by peawormsworth · · Score: 1

    When the French concieved the metric system, they were trying to reconfigure the all measurements to be based on logic rather then history. In many ways they succeeded, but with time they failed. For a short period, France converted to metric time and the calendar was changed. However, the people did not accept and use the new system and business complained and they made changes to the calendar which made people lose faith in it. Its too bad that it didnt work. From a programming perspective metric time would be a lot easier to work with.

  80. Actually, it's just me. by cshark · · Score: 1

    There are no other Slashdotters. It's all me, well, and my army of minions. I have a lot of time on my hands, and happen to be independently wealthy. I have a team of paid writers that I find in homeless shelters, who work under my direction, and we spend pretty much all of our time just filling Slashdot with junk. It's a great Silicon Valley business model if you think about it.

    1. Hire homeless people to work for free. Make sure to give them superhero or scripting related pseudonyms, and take their clothing so they can't run away.

    2. Fill Slashdot, and occasionally Craigslist with condescending garbage

    3. Some as yet undefined step.

    Go public!

    Right now, we're entering our fourteenth year on the circuit, and the house I use for this has never smelled worse. That just means it's working.

    Hoping to spark some VC interest later this year, as I anticipate low overhead business models, and sweatshops in general may come back into vogue.

    --

    This signature has Super Cow Powers

  81. Re:Time Standards vs. Time Formats, and Y10K probl by gargleblast · · Score: 1

    +1 Informative?! Congratulations. But RFC2550 is already obsolete - it depends on the Drake Equation which changed recently.

  82. Re:I'm not one for reddit, I must say by AbRASiON · · Score: 1

    I'm in a country which very much supports it you dumb cunt.

  83. Re:Time Standards vs. Time Formats, and Y10K probl by RockDoctor · · Score: 1

    Over the long (shoooooo-inhale-ooooooort) term days are getting longer

    FTFY

    There are some geologists around on Slashdot who consider the 400 million year arc over which variations in the day/month and month/year ratios have been demonstrated to be a quite short time. The same effects have doubtless been going for a longer period (since the Moon-forming event), but there's around 50 million years uncertainty in that datation too.

    Don't let the astronomers get started. Or the theoretical cosmologists, with their wear on the Turtle's toenails.

    --
    Birds are not dinosaur descendants;birds are dinosaurs, for all useful meanings of "birds", "are" and "dinosaurs"
  84. Re:Time to implement a new standard by crutchy · · Score: 1

    i agree... as long as i get to wear the red pyjamas

  85. Re:Time Standards vs. Time Formats, and Y10K probl by meustrus · · Score: 1

    There are 3600 seconds in an hour, not 360.

    --
    I sometimes ask revealing, often ignorant-seeming questions. Maybe they're harder to answer than you think.