[Microblog] (babka.social)
submitted 3 months ago by to c/programming@fedia.io
 

...when you spend a ton of time converting strings to native datetime objects only to remember later that YYYY-MM-DD already sorts/compares as a string.๐Ÿคฆโ€โ™‚๏ธ #programming

you are viewing a single comment's thread
view the rest of the comments
[โ€“] 1 point 3 months ago (3 children)

@serge time is hard! Most under think how strange time can be. Some people go overboard.Will ask you this. Do the times factor out daylight savings time, time zones and leap seconds? Depending on your application those can mess things up.

  • source
  • hideshow 3 child comments
  • [โ€“] [S] 1 point 3 months ago (2 children)

    @davesomebody Nope, none of that.

  • source
  • parent
  • hideshow 2 child comments