And that I didn't have to conclude!!! Is that in school when I first see that code, you don't blieve what was the acchieve at that time was the student conclude by logical what does mean, and not code, and there will the answer that snippet that I marked I saw in the school when I was 13 years old, means that the hours would be always a number lower than 12 so the rest will be the number, if I divide to collect the rest of 6 by 12, the rest is 6, I am not looking for an broke number, so if divide 5 by 12 the result is 0 and the rest is the 5 and this for all the numbers....
const sec = now.getSeconds();
const min = now.getMinutes();
const hr = now.getHours() % 12;
Why, I don't know at that time that was a code from Germany, intelligent people see reasons that we the commons don't see, the answer was that the result is more perfect if pass for an process to assecure the reality of the number!? And was explicite in my school, so the 12 is one but only it. Rute Bezerra de Menezes Gondim
No comments:
Post a Comment