Hello, If you want to compare date you may use StrToDateTime www.amibroker.com/f?strtodatetime
and DateTimeToStr www.amibroker.com/f?datetimetostr instead of relying on datenum. Best regards, Tomasz Janeczko amibroker.com ----- Original Message ----- From: "Paul" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, July 17, 2006 2:19 PM Subject: [amibroker] Re: trade.GetDateTime > Tomasz if that is the case, it would be very helpful if there was a > function that would allow for cross-referencing DateTime and DateNum > since these are 2 AB internal datetime formats..or perhaps you know of > any easy way to do it? > > > Most of the systems developed are probably still EOD systems so while > working with Backtester you get DateTime and no means of converting > DateTime to DateNum.. > > Paul > > > --- In [email protected], "Tomasz Janeczko" <[EMAIL PROTECTED]> > wrote: >> >> Hello, >> >> DateTime is used because DateNum is not sufficient (covers EOD only > as it only delivers the date) >> while backtesting needs date AND time (intraday trading). >> >> Best regards, >> Tomasz Janeczko >> amibroker.com >> ----- Original Message ----- >> From: "Paul" <[EMAIL PROTECTED]> >> To: <[email protected]> >> Sent: Sunday, July 16, 2006 8:26 PM >> Subject: [amibroker] trade.GetDateTime >> >> >> >I am little bit confused here.. with trade.GetDateTime.. since > most >> > operations in AB is based on DateNum.. why suddenly there is a >> > trade.GetDateTime that returns DateTime vs DateNum.. why not keep >> > everything in DateNum format?? >> > >> > >> > Tks for any explanations? >> > >> > Paul >> > >> > >> > >> > >> > >> > >> > Please note that this group is for discussion between users only. >> > >> > To get support from AmiBroker please send an e-mail directly to >> > SUPPORT {at} amibroker.com >> > >> > For other support material please check also: >> > http://www.amibroker.com/support.html >> > >> > >> > Yahoo! Groups Links >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > > > > > > > Please note that this group is for discussion between users only. > > To get support from AmiBroker please send an e-mail directly to > SUPPORT {at} amibroker.com > > For other support material please check also: > http://www.amibroker.com/support.html > > > Yahoo! Groups Links > > > > > > > > Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/amibroker/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
