¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Time from an Analog


 

Sorry a little mistake

The calculation is the following :
Seconds = TotalTime % 60
Minutes = TotalTime / 60 % 60
Hours = TotalTime? / 3600 % 3600

Regards,

Le?mar. 22 juin 2021 ¨¤?06:42, S¨¦bastien LENOIR via <sebastien.lenoir=[email protected]> a ¨¦crit?:
A simple calculation could help you :

Seconds = TotalTime % 60
Minutes = TotalTime? % 60
Hours = TotalTime? / 3600 % 3600

Regards,


Le?lun. 21 juin 2021 ¨¤?21:38, Phil Bridges <gravityhammer@...> a ¨¦crit?:
If this is a SmartGraphics panel?? Just format the analog as "time"

On Mon, Jun 21, 2021 at 9:25 PM ckangis <chris@...> wrote:
Hi All,
I'm sure this is obvious, but my brain is a bit soft lately...:)

I have an application where I have a 'countdown' analog signal representing time in seconds, where it is hours of time (1 hour = 3600d, 4 hours = 14400d).
I need to display the countdown time on touchpanels in a readable form, preferably hours and minutes.?
Anyone have a module or a simple technique to do this?

Join [email protected] to automatically receive all group messages.