![](https://discuss.tchncs.de/pictrs/image/403d694a-f729-4411-9c35-340a91bdca2e.png)
![](https://beehaw.org/pictrs/image/fed50129-04e7-4dbc-8f54-4ba5bae58370.png)
for what, Bluetooth?
which adds latency btw, no bueno
for what, Bluetooth?
which adds latency btw, no bueno
Removed by mod
But, you totally can? When you store all your dates as an ISO 8601 string (UTC, so with Z at the end), you can simply compare the strings themselves with no further complications, if the strings match, the dates match, if one string is less than the other, the date therein is before the other. Their lexical order is equal to their chronological order
I agree that it’s a massive and unnecessary overhead that you should definitely avoid if possible, but for anything where this overhead is negligible it’s a very viable and safe way of storing date and time
edit: I forgot, there’s also a format that’s output by functions like toUTCstring that’s totally different and doesn’t have any logical order, but I honestly forgot about that format because nobody in their right mind would use it
If only there was a summary of said article right here in the comment section, not even a click away
why not? assuming you’re saving them all in UTC they should be perfectly sortable and comparable (before, equal, after) as strings, even with varying amounts of precision when you compare substrings. You can’t really do math with them of course, but that’s what I meant about how DBs interpret dates and time: if you use it do to math and then you also use your application’s date library to do math, you’ll likely run into situations where the two come to different answers due to timezone settings, environments, DB drivers and the like. Of course if I could rely on the DB to do the math exactly the way I’d expect it to, then having that ability is awesome, however that requires more knowledge about databases and their environments than I currently have
Personally, I would probably just store them as text, because I’m objectively a terrible programmer.
I don’t know man, I’d far prefer storing a string and have whatever date library I’m using figure it out than have to deal with whatever the database thinks about dates and timestamps
you know what will solve those problems though? blame them on someone else. “oh yeah that bug, yeah sorry the package we’re using messed it up, there’s a PR for that”
“Not Trump” is a message that does not work across all voters
It ought to work for Muslims that haven’t lived under a rock the last 7 years
yeah well HP, fuck you too
that’s almost the worst thing you can do in a two party system, short of not voting at all. It sucks that the system only really allows two parties but throwing away your vote on a third party is not the way to fix it
lower visual noise of modern movies and series also helps a lot
Removed by mod
Removed by mod
and you’re so happy you can just mash one single button and your favourite track, game or series starts to play.
yes, that’s why I pay for some things and pirate others, because for me pirating is often significantly easier and less time consuming than paying
participating in a community ≠ making it a lifestyle
If they’re willing to be reasonable
they’ve shown time and time again, through actions and words, that they are not
boring work stuff, they entered wrong data and made a ticket to fix it several months after the fact. That data they enter is the input for a bunch of calculations, so cleaning up that mess is a lot of work and I’m the only one equipped to do it. They should be well aware of the importance of being exact with what they enter and only signing off on it when they’re 100% sure it’s correct, yet they keep messing it up. They made a stupid excuse about having to sign off on it even though they knew it wasn’t 100% done, when it’s been made perfectly clear that this is unacceptable regardless of circumstances because of legal ($$$$) ramifications
edit: I should add that those ramifications are potentially severe enough to bankrupt us. That particular administrative body does not fuck around and will tear us a new one if they smell blood
today, I used the word negligent in a work email. They done fucked up and I’m tired of their shit
they aren’t, except perhaps as a counterexample of some dubious sort