SOLVED
Day of the Year
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
krankin
7 - Meteor
‎09-03-2019
08:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
How do I determine that day of the year? For example today, September 3, 2019 is the 246th day of the year.
Thanks.
Solved! Go to Solution.
Labels:
- Labels:
- Date Time
4 REPLIES 4
16 - Nebula
‎09-03-2019
08:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
If you have a date field use,
Datetimeformat([field1], '%j')
Datetimeformat([field1], '%j')
LordNeilLord
15 - Aurora
‎09-03-2019
08:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @krankin
Check out this page: https://help.alteryx.com/10.1/Reference/DateTimeFunctions.htm
IN the section Date/Time Format Specifiers Used in Alteryx
‎09-03-2019
08:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Fantastic! Thanks!
17 - Castor
‎09-03-2019
08:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Here's the formula that includes the formatting:
DateTimeFormat(DateTimeParse("September 3, 2019","%B %d,%Y"),"%j")
