We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Advance datetime to just after midnight

Phil_P
7 - Meteor

Hi all,

 

Looking for some help with what (I think) should be a simple fomula.

 

I have a date time-field called [startdate]. if the time is after 12:00 I need to advance the date-time to 1 second past midnight on the following day, In SQL I would probably use datefromparts() but I cant see a direct equivalent in Alteryx. Any idea on the easiest way to implement?

 

 

Regards

 

Phil

 

 

2 REPLIES 2
DavidP
17 - Castor
17 - Castor

This should do it

 

datetime.png

Phil_P
7 - Meteor

perfect, thank you

Labels
Top Solution Authors