Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Convert Excel decimal time to time in Alteryx

AlexL
7 - Meteor

Hello,

 

Inquiring if there is a tool or way to convert a decimal field in an excel report to time in Alteryx.

The select tool does not recognizing the decimal field as time when I change the format.

 

I.e. 

0.486643518518518 = 11:40:46 AM (hh:mm:ss)

0.5 = 12:00:00 PM (hh:mm:ss)

 

Please see additional examples in attached document.

2 REPLIES 2
jdunkerley79
ACE Emeritus
ACE Emeritus

The easiest way I can think of is to use a formula tool:

DateTimeAdd(DateTimeToday(), [Decimal] * 86400, "seconds")

 

A quick sample is attached

AlexL
7 - Meteor

Thanks! Works perfect!

Labels
Top Solution Authors