Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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