Showing results for 
Search instead for 
Did you mean: 

Alteryx Designer Ideas

Share your Designer product ideas - we're listening!

Have a way to easily get date parts out of a date field

Functions such as Year([Date Field]), Month([Date Field]), and Day([Date Field]) would really help with date-based formulas and filter tests.

Alteryx Certified Partner
Alteryx Certified Partner

Until such a time, how about?


DateTimeFormat([Date Field],"%Y") >= '2014'




DateTimeFormat([Date Field],"%m") == '10'




Just a thought....

I built some Date functions as a Formula AddIn to do exactly this.



Code is on GitHub:


Would be nice to see functions expanded in the next release.

Status changed to: Under Review

Hi all,


Thanks for the idea (and code!). We're looking at re-vamping all of our DateTime functionality across the product, so we'll keep these ideas in mind when those initiatives kick off.




Alteryx Certified Partner

Good news for anyone reading this post, these functions are now available in Alteryx Designer 11.5:

  • DateTimeYear(dt)
  • DateTimeMonth(dt)
  • DateTimeDay(dt)

@MarqueeCrew suggested -- DateTimeFormat([Date Field],"%Y") >= '2014'


Thanks for the suggestion.  I did use this in a recent workflow.  However, for anyone from Alteryx reading this, this is non-intuitive.  '2014' implies that 2014 is a string and will be treated like a string, not an integer.  I didn't try this when I was working it out on my own for that reason.

Status changed to: Implemented

Thank you for your idea! This idea was implemented back in 11.5 with the functions: 

  • DateTimeYear(dt)
  • DateTimeMonth(dt)
  • DateTimeDay(dt)