PureBytes Links
Trading Reference Links
|
Use this
AddColumn(LastValue( DateTime() ), "Last Quote", formatDateTime);
You prob is that barindex is different number than datetime so the
formatting messes up.
On Thu, 27 Jan 2005 06:13:00 -0000, Christoper <turkey@xxxxxxxxxxxxxxx> wrote:
>
>
> I'm trying to add one column which shows the date (and another that
> shows the time) of the last quote.
>
> I've been playing around with this:
> AddColumn(LastValue( BarIndex() ), "Last Quote", formatDateTime);
>
> ... but this gives me "9/28/1968 4:00:00 PM"
>
> The time is correct, but the date is off like crazy. Should have been
> today's date "1/26/05".
>
> Any help would be appreciated.
>
> - chris
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>
--
Cheers
Graham
http://e-wire.net.au/~eb_kavan/
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|