PureBytes Links
Trading Reference Links
|
I am modifying the export.js to export all symbols in the data file
for import into another system. It all seems to work fine with the
exception of the date field. Can anyone explain how to modify the
following code to always write YYYYMMDD. Example 20010901 instead of
200191
f.WriteLine( oStock.Ticker + "," +
oDate.getFullYear() + (oDate.getMonth()+1) + oDate.getDate
() + "," +
FormatFloat( oQuote.Open ) + "," +
FormatFloat( oQuote.High ) + "," +
FormatFloat( oQuote.Low ) + "," +
FormatFloat( oQuote.Close ) + "," +
Math.round( oQuote.Volume ) );
John Pyle
|