Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Convert Time HH:MM:SS to seconds

Genty
7 - Meteor

Hi,

 

I am trying to convert HH:MM:SS to seconds E.G 00:01:00 = 60.

 

Trying to use a formula which is simple in Excel but struggling in Alteryx.

 

Can anyone help?

 

Regards

2 REPLIES 2
Thableaus
17 - Castor
17 - Castor

Hi @Genty 

 

Would this do the work?

 

DateTimeHour([Field1]) * 3600 + DateTimeMinutes([Field1]) * 60 + DateTimeSeconds([Field1])

 

Cheers,

Genty
7 - Meteor

Yep works for me, thank you.

Labels
Top Solution Authors