How to get ETH Open (US Futures)

I am trying to get the Extended Trading Hours Open for futures. For index futures, the trading day starts at 6:00 PM Eastern. In Database Settings, this time is set as the ETH start time. However, with the chart in 24 hour mode, if I use:

ETHOpen = TimeFrameGetPrice( "O", inDaily, 0 );

I get the open price of the first bar past midnight. Sunday night session becomes a day (6:00pm to Midnight). Should the database settings be different or should this be coded some other way?

While I am in this topic, is there a way to detect if the chart is in 24hour mode or Day only mode within AFL? Also, is it possible to switch from Day Only to 24Hour - i.e. code equivalent to clicking UI buttons?

TIA.
Ge55S

See http://www.amibroker.com/kb/2006/03/19/how-does-the-daily-time-compression-work/

Thank you, Mr. J. Local Time Setting was my problem.

G5