This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
The highly anticipated Alteryx Community tradition is back! We hope you'll join us!
Learn MoreHello,
I have a column field labeled "date" and I need an additional column field that can translate the date to the corresponding day of the week.
Example:
Date Weekday
2/18/2019 -----> Monday
I have the Date field, but need to populate the Weekday field, does anyone know how to do this? Thank you!
Solved! Go to Solution.
Try DateTimeformat(DateTimeParse([Date],'%m/%d/%Y'),'%A')
Hi @tessaenns !
Try this formula out:
DateTimeFormat([Date],"%A")
Your date field needs to be in Date format for the above to work. If it isn't, use the DateTimeParse function first, or the DateTime Parse tool.
Cheers!!
Esther
You can find information on Alteryx DateTime functions and formats here:
https://help.alteryx.com/10.1/Reference/DateTimeFunctions.htm
Thank you David, this worked beautifully! When the data type is set as V_String, the formula worked like a charm!