[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Time in String Format



PureBytes Links

Trading Reference Links

Here is something I got from support after making a suggestion about
time in Now function
You can get this information out of TimeNum - Now(4) - see the sample function:

function TimeNumInSeconds( Time )
{
 Seconds = int(Time%100);
 Minutes = int(Time/100%100);
 Hours = int(Time/10000%100);
 TNinSec = int(3600*Hours+60*Minutes+Seconds);

 return TNinSec ;
}
just a matter of modifying and stringing together  the parts you want
to make the results you want
eg maybe somehting along hese lines
 TNinSec = Hours+":"+Minutes+":"+Seconds;


--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm

On 12/14/05, cstrader <cstrader232@xxxxxxxxxxxx> wrote:
>
> Is there a way to turn timenum() into a string.  e.g  09:30:00?
>
> Thanks
>
> ----- Original Message -----
> From: Dave MacKay
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Tuesday, December 13, 2005 1:39 PM
> Subject: Re: [amibroker] Re: EOD of day Futures quote source
>
>
> On this page. it mentions Chicago sun times as a source for Datasharks downloader........
>
> Perhaps this could be a source for us also
>
> http://www.datasharks.biz/
>
> Ed Hoopes <reefbreak_sd@xxxxxxxxx> wrote:
> I have an account at InteractiveBrokers.com , they have some futures
> contracts that are real time and free.  It works as well as my
> previous subscription service eSignal.
>
> Ed Hoopes
>
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "axle_d" <axle_d@xxxx> wrote:
> >
> > Does anyone know of an EOD or delayed free futures download that I can
> > use with AB.  Brite Futures appears not to be working any longer,
> > Lycos/Quote.com seems to time out constantly.
> >
> > Any suggestions greatly appreciated in adva nce.
> >


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/