Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Alteryx

You're reading from  Learning Alteryx

Product type Book
Published in Dec 2017
Publisher Packt
ISBN-13 9781788392655
Pages 228 pages
Edition 1st Edition
Languages

Converting strings to dates and dates to strings


There are a variety of date formats that need to be updated to a data type that meets the needs of the analysis. A string formatted date may need to be updated to a date/time format. On the other hand, a date/time format may need to be updated to a string format. The complexity of updating this can be quite cumbersome and there are formulas available to make these necessary updates. Better yet, there is a DateTime tool in Alteryx that includes options on selecting the format to convert.

The following image shows the DateTime tool located in the Parse tool palette.

The DateTime tool can convert a date/time format to string and vice versa, a string to a date/time format. The flexibility of the format selections is quite helpfully located in just one tool! It contains prestored formats and an option to specify a custom format. Let's go through a few examples using the DateTime tool and looking at how it may benefit you to make the format updates...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}