ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

How would I finish this formula to conver HH:MM:SS to just Minutes

rmartori
8 - Asteroid

So I found this formula but it is only for HH:MM

ToNumber(Right([HH:MM],2))+ 60 * ToNumber(Left([HH:MM],2))

When seconds come into play it falls apart.

 

I am using the formula tool. 

2 REPLIES 2
Emil_Kos
17 - Castor
17 - Castor

Hi @rmartori,

 

I have prepared the example with substring formula.

 

Please take a look and mark as solved if this was helpful.

 

 

Qiu
21 - Polaris
21 - Polaris

@rmartori 

If you like this, appreciate you would make it as accept.

 


Count the Seconds, Column needs to be Double
Round(ToNumber(Right([HH:MM:SS],2))/60,0.01)+ ToNumber(Substring([HH:MM:SS],4,2))+60 * ToNumber(Left([HH:MM:SS],2))
Dump the seconds
ToNumber(Substring([HH:MM:SS],4,2))+60 * ToNumber(Left([HH:MM:SS],2)]

Labels
Top Solution Authors