Date format using wfsave
Posted: Wed Jan 23, 2013 7:59 am
Hello,
I am using the following command line to export monthly series that end in _hp to Excel using wfsave.
wfsave(2,t=excel,maptype=n) "W:\EViews\test_write_potential.xls" @keep *_hp
The dates exported are in the format of YYYY/MM/DD showing the first date of each month. I actually want the dates to be the last date of the month in DD/MM/YYYY. Is it possible to do that using wfsave? I know "write" has the option to convert dates to the last date but I need to use wfsave. Also, I don't want to use @datestr to get to the DD/MM/YYYY format as the dates would be exported as text instead of date value.
Thanks,
viv
I am using the following command line to export monthly series that end in _hp to Excel using wfsave.
wfsave(2,t=excel,maptype=n) "W:\EViews\test_write_potential.xls" @keep *_hp
The dates exported are in the format of YYYY/MM/DD showing the first date of each month. I actually want the dates to be the last date of the month in DD/MM/YYYY. Is it possible to do that using wfsave? I know "write" has the option to convert dates to the last date but I need to use wfsave. Also, I don't want to use @datestr to get to the DD/MM/YYYY format as the dates would be exported as text instead of date value.
Thanks,
viv