In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

how to convert date & time in Months

shahnawaz_khan
8 - Asteroid

How to convert below date time in months (Ex. Mon-yy)

 

02-10-2023 01:22

2023-10-04 03:22:33

28-12-2023 11:11

3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris
Deano478
12 - Quasar

@shahnawaz_khan Before you receive a solution can you show us what you have tried so far?

rzdodson
12 - Quasar

@shahnawaz_khan here is one approach for you. Drop this in a Formula tool to get it converted over.

 

If Substring([Old Date],2,1)='-' then

Substring([Old Date],6,4)+'-'+Substring([Old Date],3,2)+'-'+Substring([Old Date],0,2)+' ' +Right([Old Date], 5)+":00"

else [Old Date]

endif

Solution.png 

Labels
Top Solution Authors