Invalid Date Time

68 views
Skip to first unread message

sethmo

unread,
Mar 6, 2018, 2:52:54 PM3/6/18
to AmiBroker Developers Group
Hi

I'm trying to parse intraday tick data. I'm having a problem once I send the data to Amibroker, this date, for example, 2018-02-27 00:01:04.580 encodes to 9089064497100095488, but when it updates in Amibroker, it comes up as "Invalid Date Time" and in the Quote Editor. I'm adding new quotes like this:

Quotation quote = new Quotation(){
   
DateTime = new AmiDate(DateTime.Parse("2018-02-27 00:01:04.580")).ToUInt64(),
 ...
 
...
 
...


Am I using AmiDate wrong?

Thanks.
Reply all
Reply to author
Forward
0 new messages