Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
How to name a csv file by current date?
tahsin
Hello,
I am using a
Write csv
operator followed by a
Send Mai
l operator to send out the csv file to the given email. It looks alright but I want to name csv file by the current date, so for example, for June 30, 2021 it will be "5/30/2021 data.csv" and it will change everyday when I run the process. I am not sure how can I do it.
Any help is appreciated. Thanks.
Find more posts tagged with
AI Studio
CSV
Send Mail
Accepted answers
YYH
Hi
@tahsin
,
Have you used macro? A quick tip is naming the out put CSV file as something like “Result table %{t}.csv”, where %{t} represents the current timestamp
https://docs.rapidminer.com/latest/studio/getting-started/macros.html
You can also “generate macro” with date functions date_now() and transform your timestamp to a specific
format.
https://docs.rapidminer.com/latest/studio/operators/utility/macros/generate_macro.html
HTH!
All comments
YYH
Hi
@tahsin
,
Have you used macro? A quick tip is naming the out put CSV file as something like “Result table %{t}.csv”, where %{t} represents the current timestamp
https://docs.rapidminer.com/latest/studio/getting-started/macros.html
You can also “generate macro” with date functions date_now() and transform your timestamp to a specific
format.
https://docs.rapidminer.com/latest/studio/operators/utility/macros/generate_macro.html
HTH!
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups