Hi,

I have this data in the CSV

Code:
2019-02-26 21:55:00,0,9,0,9,0,9,0,9,98.31,97.35,-9,-9,-9,-9
2019-02-26 22:00:00,0,9,0,9,0,9,0,9,98.25,97.16,-9,-9,-9,-9
...



and I read by dataParse
Code:
string InName = "pred.csv";  // name of a single year CSV file
string Format = "%Y-%m-%d %H:%M:%S,i,i,i,i,i,i,i,i,f1,f2";

int Records = dataParse(1,Format,InName);

// data on row 3822 is
//2019-04-25 11:30:00,7,0,7,0,6,0,6,0,93.36,89.18,7,7,6,6

var dDate=wdatef ("%Y-%m-%d %H:%M:%S", "2019-04-25 11:30:00");

int Row = dataFind(1,dDate); <<-- return 0

also 

int Row = dataFind(1,wdate(dDate)); <<-- return 0



my question - how is correct?

Thanks

edit:
may be I found correct - this is a working
Code:
from:
"%Y-%m-%d %H:%M:%S,i,i,i,i,i,i,i,i,f1,f2"
cahnge to:
"+%Y-%m-%d %H:%M:%S,i,i,i,i,i,i,i,i,f1,f2"


Last edited by Grat; 05/06/19 13:34.