Discuss Scratch
- Discussion Forums
- » Suggestions
- » Days Since Any Date Reporter
- FancyFoxy
-
500+ posts
Days Since Any Date Reporter
Do you think everyone was taught that? I didn't know about it until you just told me.…not all of us can easily remember the amount of days the months had.
Use the knuckle trick. Make two fists and count on your knuckles.
- daffy1234
-
100+ posts
Days Since Any Date Reporter
And how will some dates differ from the other if February 28 is there and the rest are 30?
Not completely sure what you're asking. If you're asking how the other months are affected by february, the answer is that they aren't. Unless you care about weekdays (monday, tuesday, etc) then the dates are unaffected by the leap day.
- daffy1234
-
100+ posts
Days Since Any Date Reporter
Do you think everyone was taught that? I didn't know about it until you just told me.
It's just a helpful trick. Not trying to be condescending, sorry if it came off that way.
- kenny2scratch
-
500+ posts
Days Since Any Date Reporter
Days since 2000 is actually a small tip of the hat to other programming languages' way of counting time - other languages count time in I'd say support! Days since 2000 is honestly a REALLY SPECIFIC block, and it's good to generalize things.seconds since January 1, 1970 at midnight. Since not many Scratchers know the significance of that date, “2000” was chosen instead.
- -Rex-
-
500+ posts
Days Since Any Date Reporter
Yes, you don't need any loops to implement your suggestion. And my workaround only requires a single extra subtraction block. Even if the implementation of this block in Scratch's source code used loops, it still wouldn't lag much because ActionScript is much faster than Scratch (although it would be an inefficient way of implementing it).http://www.elapsedtimecalculator.com/Elapsed-Time-Calculator.aspx or change your computer's clock and use the days since 2000 block to do this), and subtract it from the current days since 2000.If I were to find out the amount of days since the year AD 1, on January 1st of AD 1, do you even think it is going to not lag? Going before 2000 would not increase lag. To workaround this, find the days since 2000 for the date you want (you can either use
- smartzx
-
100+ posts
Days Since Any Date Reporter
Actually, 2000 wasn't a leap year. Note: If you are going to use the trick remember that 2000, 2004, 2008, 2012, 2016… are leap years.
- Charles12310
-
1000+ posts
Days Since Any Date Reporter
How do we know which year is a leap year and which one is not? Sure, a leap year is every four years, but then see what confusion we have?Actually, 2000 wasn't a leap year. Note: If you are going to use the trick remember that 2000, 2004, 2008, 2012, 2016… are leap years.
Even if we know the leap years and the fact that a leap year happens every 4 years after another leap year, I know it will be still difficult to detect.
- -Rex-
-
500+ posts
Days Since Any Date Reporter
You don't need to check for a leap year, you just need to know how many leap years were between two dates. This is made even easier by the fact that you can compare both dates to an easy reference point (such as January 1, 1 AD/CE). If you do that, it's justHow do we know which year is a leap year and which one is not? Sure, a leap year is every four years, but then see what confusion we have?Actually, 2000 wasn't a leap year. Note: If you are going to use the trick remember that 2000, 2004, 2008, 2012, 2016… are leap years.
Even if we know the leap years and the fact that a leap year happens every 4 years after another leap year, I know it will be still difficult to detect.
(([floor v] of ((year) / (4))) + (([floor v] of ((year) / (400))) - ([floor v] or ((year) / (100))))) // only works for AD/CE years
- aking_
-
1000+ posts
Days Since Any Date Reporter
Here's an easy way of remembering it: Leap years happen every year the Euros happen (European soccer tournament). How do we know which year is a leap year and which one is not? Sure, a leap year is every four years, but then see what confusion we have?
Even if we know the leap years and the fact that a leap year happens every 4 years after another leap year, I know it will be still difficult to detect.
Well that only helps if you're a soccer fan but I can't think of an easy way to remember leap years other than that lol.
BIG FACTS:
Last 5 leap years:
2016
2012
2008
2004
2001
- -Rex-
-
500+ posts
Days Since Any Date Reporter
2000 was a leap year.Actually, 2000 wasn't a leap year. Note: If you are going to use the trick remember that 2000, 2004, 2008, 2012, 2016… are leap years.
2001 wasn't a leap year.Here's an easy way of remembering it: Leap years happen every year the Euros happen (European soccer tournament). How do we know which year is a leap year and which one is not? Sure, a leap year is every four years, but then see what confusion we have?
Even if we know the leap years and the fact that a leap year happens every 4 years after another leap year, I know it will be still difficult to detect.
Well that only helps if you're a soccer fan but I can't think of an easy way to remember leap years other than that lol.
BIG FACTS:
Last 5 leap years:
2016
2012
2008
2004
2001
- DaEpikDude
-
1000+ posts
Days Since Any Date Reporter
You should put “Water” in your signature instead of writing it on every post. Support.
Water
Edit: here's an iTopic explaining signatures.
Last edited by DaEpikDude (Sept. 17, 2017 03:48:14)
- Charles12310
-
1000+ posts
Days Since Any Date Reporter
Um, how do I even know if “Water” is actually supposed to be part of the signature or not? The user might have put it there in the post purposely.You should put “Water” in your signature instead of writing it on every post. Support.
Water
Edit: here's an iTopic explaining signatures.
- -Rex-
-
500+ posts
Days Since Any Date Reporter
Because water is completely unrelated to this topic.Um, how do I even know if “Water” is actually supposed to be part of the signature or not? The user might have put it there in the post purposely.You should put “Water” in your signature instead of writing it on every post. Support.
Water
Edit: here's an iTopic explaining signatures.
- Charles12310
-
1000+ posts
Days Since Any Date Reporter
But then did the user put that same word in the rest of his/her posts?Because water is completely unrelated to this topic.Um, how do I even know if “Water” is actually supposed to be part of the signature or not? The user might have put it there in the post purposely.You should put “Water” in your signature instead of writing it on every post. Support.
Water
Edit: here's an iTopic explaining signatures.
- DaEpikDude
-
1000+ posts
Days Since Any Date Reporter
Yes. Go look at any of their posts, and “Water” is just there.But then did the user put that same word in the rest of his/her posts?Because water is completely unrelated to this topic.Um, how do I even know if “Water” is actually supposed to be part of the signature or not? The user might have put it there in the post purposely.You should put “Water” in your signature instead of writing it on every post. Support.
Water
Edit: here's an iTopic explaining signatures.
- Charles12310
-
1000+ posts
Days Since Any Date Reporter
Well, if that if the case, we should tell them on their profile.Yes. Go look at any of their posts, and “Water” is just there.But then did the user put that same word in the rest of his/her posts?Because water is completely unrelated to this topic.Um, how do I even know if “Water” is actually supposed to be part of the signature or not? The user might have put it there in the post purposely.You should put “Water” in your signature instead of writing it on every post. Support.
Water
Edit: here's an iTopic explaining signatures.
- DaEpikDude
-
1000+ posts
Days Since Any Date Reporter
Someone already did…Well, if that if the case, we should tell them on their profile. -snip-
- Discussion Forums
- » Suggestions
-
» Days Since Any Date Reporter