Hi,
I believe that it was possible to override in the settings, or in the ressource file the settings to have allways the 24H setting, but I don't find where I have see that.
Was it a dream, or is it really possible , and how ?
Sorry,
in fact, your watch is parametered on 12 hours (with am and pm), or in 24 hours,
For example : 13:35 is 01:35 in 12 mode.
I wanted to force the setup in the 24 mode if possible. I made calculations only in 24 for the moment, and I wanted to avoid surprises in 12 mode.
Thanks,
If you are doing math on different times, there are other ways to do it than using hrs/mins/secs. As an old c and unix guy, I always do it in seconds.
var start=Time.now().value();
gives you the "unix time" in seconds (the number of seconds since Jan1 1970)
Lets say you want to compare the current time to start. Then you use:
var now=Time.now().value();
var elapsed=now-start;
elapsed is the number of seconds between now and when you started. It's then a simple conversion to display it as hh:mm:ss. It will also handle difference is days, weeks, months, even years.