I was originally going to do that (everything based on just the "second" attribute and trying to use the mod operatus for it) on a separate occasion with working on a game (not related to this countdown timer attempt), but then I thought, what if in-game, I want to add a few hours to the time, I (believe) I would need to have an attribute for each unit (second, minute, hour, day, ~week, month, and year) anyways to be able to handle this, which I'm not sure how'd I do that via the mod operatus or in some other way, other than the most direct "somewhat easy" way of my usage of the cumbersome (my "brute force" approach, as I still don't have much coding knowledge) "if" and "changed" scriptings. Though, my countdown timer code is mostly actually based upon the "second" attribute (in fact) as well:
the seconds countdown, and when they get to zero, on the next timer second interval, the second gets changed back to "9", which then causes the "minute" attribute to lower (or is changed to the "9" or "5", which lowers the next unit or it is changed to "9" or "5", lol), and thus this "chain reaction" pattern partially repeats for the rest of the units, but it's entirely controlled (properly, I hope, lol) by the ticking down of the "second" attribute:
the "second" attribute lowers the "minute" attribute, which in turn lowers the "hour" attribute (note: I actually have a "ones" and a "tens" attribute for each of the unit attributes), and thus, if we remove the "second" attribute from lowering, or if we were to lower the other units, than the countdown would be seriously flawed~messed up and~or not even work at all.
so, my countdown timer code (based upon using just that single "second" attribute) has nothing to do with (doesn't help with) this problem of how to code seomthing where you can change any of the units, and still keep the correct time~date~timer~countdown correct of the system of it.
so, for an extensive "date~time and~or timer~countdown system", I'm not sure if you could just code for a single unit ("second") for the rest of the code to be based upon, you'd need to connect (code for) all the units, so that you can change any unit, while keeping the system correct.
so, I'm not sure how to go about this in terms of code design, besides the "brute force" usage of "if" and "changed" scripts... a lot to learn in coding, I have, laughs.
--------------
as can be seen, I can somewhat do the coding, but my real lack of coding ability is with learning of how to design the coding, to do what I want, as the actual coding isn't too hard to learn how to do, but you need to know the what~how (design) to code something. If this makes any sense. I need to get much more experience~knowledge of code designing~theory, I still haven't got around to learning how you add strings together to create a script, as I see you use for a lot of things, jayna, which I have called this "string parsing" coding, lol. What are the ways (or if there are any ways) to develop or to learn how improve ones code designing knowledge or brain~mind set of thinking, besides just doing more coding, would learning the programming modeling stuff (all the charts diagrams and etc organizational stuff) work? This doesn't seem to pertain to code designing, just in making it easier to do the coding itself. How do you learn the "tricks or tactics or methods" of coding in different designs?
I guess my brain is too "single approach" focused, it's hard for me to think differently, to come up with a different way of tackling a code problem, I have trouble with creative ways to go about designing a code method to do the thing that I want.
I know code design is from years of experience with coding, 30 years is a long time, jayna, hehe, but is there anything that I can read or study to help my brain in being more creative towards designing a code for something? Is there anything that can help train~teach my brain to have a better, more creative, "coding thought process" ??? (though, I still need to learn how to do the actual coding of these different designs too ~ like your "string to script" coding + the other stuff you did in your 3d map generation coding too, mod operatus, and etc stuff, lol).
I'm getting too far ahead of myself... I still need to get more proficient in just equipment coding (and I still haven't delved into magic~spell coding either). so, let me force myself into doing~learning these things, first... I just need better discipline... lol.