Hi @PurpleDeveloper ,
I'm not sure I understand the full implications of your scenario, so I'll try answer as best I can and please forgive me if I miss what you're trying to say.
Duration:
Looking at your formula - if you're putting this on the Duration: property of the timer, you're essentially just specifying a set (fixed) duration for the timer to run - which if I understood correctly, will be 10 hours from the default time.
You formula is saying;
"Subtract thisdate from (thisdate + 10hrs) = 10hrs, represented in milliseconds = 36000000".
The answer to this formula will always be 10hrs, no matter what your date value is - so changing the date will not change your duration.
It's the same as saying "x + 5 - x = 5 " - regardless of what "x" is, your answer will always be 5.
So if you're wanting to somehow change duration, then duration needs to come from somewhere you can change the "5" value - not the "x" value.
Global Timer:
Think of your global timer as a clock - that's its primary function.
The issue with using Now() as a time reference in PowerApps, is that Now() only refreshes when you calculate it. So if you set a var "varTime" to Now() it will be the time at the point you set it.
If you check "varTime" ten minutes later, it will still be the time from when it was set ten minutes ago - you need to reset "varTime" to Now() again to get the current time.
Hence, the timer, which we can use to set Now() every second, and this keeps track of "current Time".
Once you've got a current Time reference, you can then start doing calcs on datetime values to determine how far from current Time they are. To be honest, I'm not sure you need a "clock" timer, as I think I may have misunderstood your original post, but this is the principle.
So the only thing you need on your global timer is the following, either OnTimerStart:, or OnTimerEnd: - just not both as it's a waste of processing;
Set(gvarCurrentTime, Now())
Also make sure to pop it on your home page and set Auto Pause: to false.
Now, whenever you use gvarCurrentTime in your expressions, it will be the current time, which means you can see how far a certain datetime value is from right now (either in the past or in the future) using DateDiff().
This can allow you to set 'alarms' for certain times, or trigger things when they are a certain distance from timestamps you specify.
I'm not sure if this is helping you - perhaps you can explain a little more about your scenario and we can work out the best way to achieve what you want?
Kind regards,
RT