FlowHeater Demo Video
 
FlowHeater - The Data Import / Export Specialist
 
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Output file names - can I add date/time ?

Output file names - can I add date/time ? 1 year 7 months ago #3183

  • Ken Starnes
  • Ken Starnes's Avatar Topic Author
  • Offline
  • Posts: 8
Rather than the default name given to a CSV/TXT output I'd like to put in some default text and then append the run date and time.

I guess it's easy when you know how but it's not obvious.

Thanks

Please Log in or Create an account to join the conversation.

Output file names - can I add date/time ? 1 year 7 months ago #3184

Hi Ken,

Yes of course. For example you can use FlowHeater Parameter or system envirnonement varaibles as part of the output CSV file name.

e.g.: %TEMP%\output_$DATETIME$.csv

In this case %TEMP% are dynamically replaced with the value of the system environemnt variable TEMP and $DATETIME$ are replaced with the current value of the FlowHeater Parameter “DATETIME”.

In the Definition you have to set and format the Parameter “DATETIME” by yourself. To do this you need one Now Heater to retrive the current date and time, one String Format Heater to set your desired output format and one Set Parameter Heater to set the value to the Parameter “DATETIME”.

In the attachment you´l find a brief example you it´s works.



File Attachment:

File Name: use-curren...name.zip
File Size:2 KB

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.
Attachments:

Please Log in or Create an account to join the conversation.

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.

Output file names - can I add date/time ? 1 year 7 months ago #3187

  • Ken Starnes
  • Ken Starnes's Avatar Topic Author
  • Offline
  • Posts: 8
Thanks Robert - however I can't open the FHD as it was created in a Beta Version that isn't available to download (I looked at the definition using NotePad++). I have the 4.0.8.2 version.

Please Log in or Create an account to join the conversation.

Output file names - can I add date/time ? 1 year 7 months ago #3188

  • Ken Starnes
  • Ken Starnes's Avatar Topic Author
  • Offline
  • Posts: 8
Have now got the thing working - not always obvious which way/sequence the items should join up.

Please Log in or Create an account to join the conversation.

Output file names - can I add date/time ? 1 year 7 months ago #3190

Hi Ken,

Oh sorry, the attachment has been updatet. Now the current version 4.0.8.2 are used.

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.

Please Log in or Create an account to join the conversation.

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.
  • Page:
  • 1

other Languages

en
GB | US

de
DE | AT | CH

FlowHeater Home

de en

Imprint/Contact

Privacy Statement

Copyright © 2009-2018 by FlowHeater GmbH. All rights reserved.

Follow us on

twitter  facebook

YouTube

 de en