Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Dates are wonderful

Dates are wonderful

Scheduled Pinned Locked Moved The Lounge
25 Posts 17 Posters 27 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.
  • L Lost User

    I find that they block you up a bit if you eat to many.

    R Offline
    R Offline
    Roger Wright
    wrote on last edited by
    #8

    I've heard that a tablespoon of castor oil will clear that up for you.

    Will Rogers never met me.

    T 1 Reply Last reply
    0
    • R Roger Wright

      I've heard that a tablespoon of castor oil will clear that up for you.

      Will Rogers never met me.

      T Offline
      T Offline
      TheGreatAndPowerfulOz
      wrote on last edited by
      #9

      or a suppository.

      If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
      You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

      C 1 Reply Last reply
      0
      • T tumbledDown2earth

        Dates are really wonderful until you get into date-time formats, time-zones and localization and formatted strings

        D Offline
        D Offline
        dan sh
        wrote on last edited by
        #10

        Especially in middle east. Wait...you are not talking about those dates, are you?

        "Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[^]

        1 Reply Last reply
        0
        • L Lost User

          I find that they block you up a bit if you eat to many.

          D Offline
          D Offline
          dusty_dex
          wrote on last edited by
          #11

          Just complement them with prunes or figs. :-D

          "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

          T 1 Reply Last reply
          0
          • D dusty_dex

            Just complement them with prunes or figs. :-D

            "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

            T Offline
            T Offline
            TheGreatAndPowerfulOz
            wrote on last edited by
            #12

            Especially ones that are slightly decrepit.

            If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
            You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
            Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

            1 Reply Last reply
            0
            • T TheGreatAndPowerfulOz

              or a suppository.

              If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
              You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
              Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

              C Offline
              C Offline
              CMullikin
              wrote on last edited by
              #13

              A suppository of castor oil? :omg:

              The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

              T 1 Reply Last reply
              0
              • C CMullikin

                A suppository of castor oil? :omg:

                The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

                T Offline
                T Offline
                TheGreatAndPowerfulOz
                wrote on last edited by
                #14

                That's a greasy situation...

                If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
                You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
                Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

                R 1 Reply Last reply
                0
                • T tumbledDown2earth

                  Dates are really wonderful until you get into date-time formats, time-zones and localization and formatted strings

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #15

                  tumbledDown2earth wrote:

                  Dates are really wonderful until you get into date-time formats, time-zones and localization and formatted strings

                  As an unformatted Double, it's beauty. It's the localized representations that suck.

                  Console.WriteLine("Posted on star-date: {0}", DateTime.Now.ToOADate());
                  Posted on star-date: 41386,8388463889

                  Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                  D B 2 Replies Last reply
                  0
                  • L Lost User

                    tumbledDown2earth wrote:

                    Dates are really wonderful until you get into date-time formats, time-zones and localization and formatted strings

                    As an unformatted Double, it's beauty. It's the localized representations that suck.

                    Console.WriteLine("Posted on star-date: {0}", DateTime.Now.ToOADate());
                    Posted on star-date: 41386,8388463889

                    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                    D Offline
                    D Offline
                    dusty_dex
                    wrote on last edited by
                    #16

                    > "It's the localized representations that suck." That and daylight savings. X|

                    "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                    1 Reply Last reply
                    0
                    • T Thomas Daniels

                      yyyy/MM/dd hh:mm:ss That's how I format it.

                      The quick red ProgramFOX jumps right over the Lazy<Dog>. My latest article: Understand how bitwise operators work (C# and VB.NET examples) My group: C# Programmers Group

                      H Offline
                      H Offline
                      H Brydon
                      wrote on last edited by
                      #17

                      That is called comparison time format or (almost) ISO 8601[^].

                      -- Harvey

                      J 1 Reply Last reply
                      0
                      • T tumbledDown2earth

                        Dates are really wonderful until you get into date-time formats, time-zones and localization and formatted strings

                        M Offline
                        M Offline
                        Mladen Jankovic
                        wrote on last edited by
                        #18

                        That is rather unorthodox approach to dating. It may be a cliché, but why don't you try with something easier, like favorite movie? Instead of favorite date/time format?

                        more from me

                        1 Reply Last reply
                        0
                        • T tumbledDown2earth

                          Dates are really wonderful until you get into date-time formats, time-zones and localization and formatted strings

                          G Offline
                          G Offline
                          GuyThiebaut
                          wrote on last edited by
                          #19

                          Previously working with SAS and Windows I had great(not) fun with dates as SAS starts its counting in 1960. So for every SAS data you had to apply a weighting to bring it into line with a Windows generated date. Why can't we just have a star date like Catpain[sic] Kirk has? Signing off star date: -309693.60594241496

                          “That which can be asserted without evidence, can be dismissed without evidence.”

                          ― Christopher Hitchens

                          1 Reply Last reply
                          0
                          • T TheGreatAndPowerfulOz

                            That's a greasy situation...

                            If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
                            You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
                            Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

                            R Offline
                            R Offline
                            RedDk
                            wrote on last edited by
                            #20

                            That's like trying to ... wait I can't say that in the CP lounge can I?

                            1 Reply Last reply
                            0
                            • H H Brydon

                              That is called comparison time format or (almost) ISO 8601[^].

                              -- Harvey

                              J Offline
                              J Offline
                              Jan Steyn
                              wrote on last edited by
                              #21

                              And the only format you can safely used around me. I might harm you if you use any other format.

                              1 Reply Last reply
                              0
                              • T tumbledDown2earth

                                Dates are really wonderful until you get into date-time formats, time-zones and localization and formatted strings

                                Mike HankeyM Offline
                                Mike HankeyM Offline
                                Mike Hankey
                                wrote on last edited by
                                #22

                                Until they start talking about there exex, how they hate when a man doesn't leave the seat up, etc... Oh DateTime...never mind!

                                VS2010/Atmel Studio 6.1 ToDo Manager Extension Some days, it's just not worth chewing through the restraints.

                                1 Reply Last reply
                                0
                                • T tumbledDown2earth

                                  Dates are really wonderful until you get into date-time formats, time-zones and localization and formatted strings

                                  T Offline
                                  T Offline
                                  tumbledDown2earth
                                  wrote on last edited by
                                  #23

                                  So finally there are 3 known kinds of dates (at least in English) ...

                                  1 Reply Last reply
                                  0
                                  • T tumbledDown2earth

                                    Dates are really wonderful until you get into date-time formats, time-zones and localization and formatted strings

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

                                    Or when you have to randomize dates and times to reflect real world scenarios, like a car's time in a parkade.

                                    1 Reply Last reply
                                    0
                                    • L Lost User

                                      tumbledDown2earth wrote:

                                      Dates are really wonderful until you get into date-time formats, time-zones and localization and formatted strings

                                      As an unformatted Double, it's beauty. It's the localized representations that suck.

                                      Console.WriteLine("Posted on star-date: {0}", DateTime.Now.ToOADate());
                                      Posted on star-date: 41386,8388463889

                                      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                                      B Offline
                                      B Offline
                                      BobJanova
                                      wrote on last edited by
                                      #25

                                      Best thing about this post: even your output has suffered from localisation!

                                      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