Datestamp to Ouput File name
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
After your input, insert a formula tool with Date String and put DateTimeNow() . On your output tool, Check the Take File/Table Name from Field and choose Append Suffix to File/Table Name. For the field containing file name, select the field where you put ur DateTimeNow() and make sure the Keep Field in Output is checked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
can you data stanp a xls output, the same way
many thanks
DC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Yes, you can. You may just need to experiment with that "Today_Date" field as to whether it changes the field or table name... you may even need to set the entire string in that field.
Kane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
If I don't want to include this date column in my output file but yet want to display the output file name with timestamp, how can this be achieved?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You can UNCHECK the "Keep Field in Output" box (above). That will remove the date column from the data in your file.
Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks much. Got to see after I posted the question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The instructions listed in this thread work fine for some files (such as CSV). However, Excel will not add the date/time to the filename. Rather, it will name the Sheet.
I found these instructions:
https://community.alteryx.com/t5/tkb/articleprintpage/tkb-id/knowledgebase/article-id/347
It takes a few more steps but this worked fine for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I would have gone for 1 of 2 easy options:
- Prepend the date
- Calculate the full filename (including sheet name) as a field putting the date where I need it and replace the output name with the field
At least they are easy in my world.
Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.