|
CAN-TANKER-O-US
...but do you realize it's four in the bloody morning here?
You can have Monday too...
|
|
|
|
|
And ...
Tim Deveaux wrote: You can have Monday too...
... oh.
OK - I'll do monday.
What are you doing here at 4am? You're Canadian, you should be hibernating until March, shouldn't you?
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: OK - I'll do monday.
Thanks!
Just got up to look for my shadow...
|
|
|
|
|
Tim Deveaux wrote: Just got up to look for my shadow...
Aren't you almost a week late?
Glove and Boots | Happy Groundhog Day![^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
|
Nelek wrote: what happens with leap years?
"Then a miracle occurs"
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!
|
|
|
|
|
My daughter is born on the 29th of February.
|
|
|
|
|
She is born every 4 years?
|
|
|
|
|
Quote: But... what happens with leap years?
Thoughts? Such formula is wrong. Leap years did happen, after all. I am going to test it, of course, because I don't trust your own tests.
|
|
|
|
|
CPallini wrote: I am going to test it, of course, because I don't trust your own tests. Neither do I... all is only a product of my imagination... or not?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Made the test (and some computation).
The number 116444736000000000 is right, The formula is wrong,
369 years * 365 days * 24 hours * 3600 seconds * 10000000 = 116367840000000000
The difference is 89 days (one leap year every 4 years, with the exclusion of 1700, 1800, 1900 ).
|
|
|
|
|
|
Nelek wrote: n programmer mode
This is the most useless feature of the calculator. And the reason why I replaced the system calculator by the WinXP one.
|
|
|
|
|
sometimes it gets handy when masking or analyzing parts with big hexadecimal variables. The biggest problem is when you forget to change it back (as I just proved beyond doubt)
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Microsoft Calculator Plus - V.1.0 - 2004.
Possibly they still had some C/C++ developers at the time.
|
|
|
|
|
I wanted to download from the official MS site... First you have to log in with a MS account, then it was still a problem and couldn't download it, because no device was associated with the account.
They are doing such a good job...
I'll get from another place. Anyways... thank you
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
If I remember well, I didn't download it from Mummy MS. Still it works like a charm.
|
|
|
|
|
Julian or Gregorian time?
|
|
|
|
|
Gregorian: the first day of the Gregorian calendar was Friday, 15 October 1582 which is before the "start date" of the format.
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!
|
|
|
|
|
Simply forget about days, hours and minutes and take the exact length of a year and use that as a basis of your calculation. If you can keep the error small and do the conversion to your time units last, you should get a more accurate result. If you can keep the error small...
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Just treat a year as 365.2425 days (365 + 97/400), which is the basis of the Gregorian calendar : accurate to within 1 day in 30000 years. Except that the Earth's day and year are not constant (hence the need of occasional leap seconds [which is why Unix seconds are in the range 0 to 60, not 0 to 59]).
P.S. The Gregorian calendar was under the auspices of Pope Gregory (which one? too lazy to look up!) but actually was the work of a chap called Clavius, who got virtually no recognition for his work. Belatedly, that has been rectified - the largest crater on the far side of the Moon is named after him.
|
|
|
|
|
jsc42 wrote: Clavius Yes, and in 2001 the guys at our moon base discovered a magnetic annomaly in that crater, which turned out to be an alien monolith device. It was placed there to notify its builders about us reaching the moon and discovering it.
Edit: I was mistaken. The moon base was at Clavius, the monolith was in the crater Tycho.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
modified 8-Feb-19 5:21am.
|
|
|
|
|
I don't know if somebody covered this already, but you are doing a conversation and not a comparison. And because you are doing whole years (not partials) then leap years won't effect the result.
All you have to do is add/subtract 369 years. The number of days that passed by in those 369 years is irrelevant.
EDIT: In fact, you don't even do that. Just take the individual components (year, month, day, etc.) of one data type, and then apply those values to the other data type.
|
|
|
|
|
Before I downvote this Lounge post using the redflag icon and selecting "Inappropriate" let me ask you a programming question that isn't philospophical here in the Lounge; two actually:
1. Does Window's calculator handle 46 digits of binary ones and zeros?
2. When I roll over your membership name with my mouse I get a popup which, among other interesting things, displays the number of Articles this guy "Nelek" has written (which is two (2)). When I go to the Articles count of his "Professional Profile" that count diminishes to one (1). Will clicking on "Articles" to see which thing he's the author of is not actually "Tip/Tricks" but genuinely articulate article ... will this count diminish further and display a blank page?
|
|
|
|
|
RedDk wrote: Before I downvote this Lounge post using the redflag icon and selecting "Inappropriate" Do what you want. It is a free internet.
RedDk wrote: let me ask you a programming question that isn't philospophical here in the Lounge; two actually: I don't think your questions are "programming"
RedDk wrote: 1. Does Window's calculator handle 46 digits of binary ones and zeros? Yes, it actually handles up to 64 binary digits.
RedDk wrote: 2. When I roll over your membership name with my mouse I get a popup which, among other interesting things, displays the number of Articles this guy "Nelek" has written (which is two (2)). When I go to the Articles count of his "Professional Profile" that count diminishes to one (1). Will clicking on "Articles" to see which thing he's the author of is not actually "Tip/Tricks" but genuinely articulate article ... will this count diminish further and display a blank page? Call me dumb if your want, but I have no clue about what you want. Either way... if you have a problem with what it is displayed in my profile or the count of items... you might ask / complain about / report it in Bugs and Suggestions[^].
Have a nice day
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|