Write to Excel - automated file name basic on logic
I've search the forum but not found my specific question.
I'm writing one file to Excel daily per processer and wonder if there is a way to automatically name the Excel file name with today's date. As i use the same process once a day and need to save the old file i do not want to overwrite previous runs.
The files are all saved in the same folder and i would want to specifiy a condition that the files are named E YYYY-MM-DD, is that possible?
Best Answers
-
Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:1,635Unicorn
是的,只是使用过程开始时间戳宏(which is always available by default) as part of the filename in your write Excel operator.
1 -
IngoRM Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University ProfessorPosts:1,751RM Founder
Yip, Brian is right. The old default macro %{t} might also still work...
The following two links are going to be useful if you macros for the first time:
https://docs.www.turtlecreekpls.com/studio/getting-started/macros.html
Hope this helps,
Ingo
1