|
You got my vote.
No more time zones, leap years, leap seconds, summer time, etc.
And the DateTime object could simply be an enum type
|
|
|
|
|
The logic calculations:
Past > Now > Future
Past - Future = Past
Future - Future = Future
Past - Now = Past
Now - Past = Past
Now - Future = Now
Past * 2Now - (Now + Future) - Past = Grandfather-Paradox
|
|
|
|
|
So no more birthday presents and cake for you. Also, you don't get paid for the time you came in for work this morning, after all, all that counts is now...
|
|
|
|
|
For RTL sorting DD-MM-YYYY makes sense. Not sure about the extra dash.
|
|
|
|
|
Well, that's better than the stupid MM-DD-YYYY, but the only way you can properly sort is YYYY-MM-DDD
|
|
|
|
|
In English yes, but in right-to-left (RTL) languages like Arabic, I think DD-MM-YYYY is the equivalent. Was the language English?
|
|
|
|
|
I am not aware that the way numbers are written (and hence sorted) are different in those languages. AFAIK, multi digit numbers are actually written at least in Arabic left to right still...
|
|
|
|
|
As someone who knows Arabic, you are correct. As someone who has never used an Arabic keyboard for sorting, I would assume that sorting follows the language, which in this case is right to left. So DD-MM-YYYY would sort in the order of 78-56-1234 since the numbers are left to right, but higher precedence from right number to left.
|
|
|
|
|
In any case, why would you sort a date as a string?
We're philosophical about power outages here. A.C. come, A.C. go.
|
|
|
|
|
Is that a serious question?
Obviously lots of lists and tables have date fields, or an entry is tagged by a date, which is represented as text, not as a binary date object. And frequently, you want to order the entries by date.
|
|
|
|
|
Like M#### said, folder names, file names, and many other reasons to sort by date. For RTL languages, DD-MM-YYYY is the only way to do so, just like YYYY-MM-DD is for LTR (with or without hyphens).
|
|
|
|
|
Yes. I take your point. My issue is with a recent employer who insisted on storing dates as integers or strings or even decimals in his database. I can't remember seeing a single DateTime or Date object. See where I'm coming from?
We're philosophical about power outages here. A.C. come, A.C. go.
|
|
|
|
|
My bet is simply on a lazy programmer who got something wrong in using existing data info...
|
|
|
|
|
Over here Halloween is getting more and more popular, today we biked past Walibi and were amazed how busy it was, more info here: Halloween Fright Nights | Walibi Holland[^]
All in all we were amazed at the amount of attractions in this quiet eastern part of our province of Flevoland in the Netherlands, there's even an artificial ice skating rink "Flevonice" (not opened yet for skating, but there are other attractions).
If you have kids, the pancake restaurant "Hans&Grietje" is recommended too, but watch out for the witch, the tables can behave strangely too
|
|
|
|
|
The day before Halloween we have Municipal Elections - the same effect, but last longer...
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
|
|
|
|
|
Ooooh, scary
|
|
|
|
|
Do your candidates knock on your door offering trick or trick? (You'll get no treats from that lot.)
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: Do your candidates knock on your door offering trick or trick? (You'll get no treats from that lot.)
?? I thought it was polies always promise treats then deliver tricks, or if you're really really lucky on occasion deliver nothing.
Message Signature
(Click to edit ->)
|
|
|
|
|
|
Yup. it's treat, THEN trick.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
We have always done Halloween in the UK, it is an old tradition. Apple bobbing, carving skulls out of turnips, scaring the sh*t out of our siblings.
|
|
|
|
|
Does "apple bobbing" mean that you throw your Mac into the water
|
|
|
|
|
|
The dish of freshly cooked salmon in the Have-A-Heart trap was just too tempting for him! Some time in the wee hours of the morning he took the bait.
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
I think the Skunk may have informed the cat about the delicious Food
It does not solve my Problem, but it answers my question
modified 19-Jan-21 21:04pm.
|
|
|
|