Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Current Date in File Name while Storing the QVD or CSV

Hi,

I need to append the current date (Today's Date) in the file name while storing the QVD or CSV.

Like This,

Test:

LOAD

* INLINE [
EmpCode, EmpName
100, ABC
201, EFG
]
;

STORE EmpCode,EmpName from Test into FileName.csv(txt)

Here instead of filename i need to store like Filename+today() .csv

Filename17032013.csv

Thanks,

Selva

1 Solution

Accepted Solutions
Not applicable
Author

I got it,

LET vDate= Date(Today(), 'DD-MM-YYY');

STORE EmpCode,EmpName from Test into FileName_$(vDate).csv(txt)

Output: FileName_17-03-2013

Thanks,

Selva

View solution in original post

1 Reply
Not applicable
Author

I got it,

LET vDate= Date(Today(), 'DD-MM-YYY');

STORE EmpCode,EmpName from Test into FileName_$(vDate).csv(txt)

Output: FileName_17-03-2013

Thanks,

Selva