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!

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels