Hello,

Use this
http://www.amibroker.com/guide/afl/afl_view.php?dayssince1900

You can use Hour() * 24 * 60 + Minute() * 60 + Second()
if you need number of seconds for "today".

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "davemabe2000" <[email protected]>
To: <[email protected]>
Sent: Wednesday, July 29, 2009 6:42 PM
Subject: [amibroker] Record Backtest Duration Using a Timer - Get Epoch Time?


> I'd like to add duration time to the backtest report custom metric section.
> 
> In AFL how would I retrieve the current system time in epoch format (seconds 
> since Jan 1 1970)?
> 
> 
> 
> ------------------------------------
> 
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
> 
> TO GET TECHNICAL SUPPORT send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
> 
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> Yahoo! Groups Links
> 
> 
> 

Reply via email to