Hi coders,
int DLSSec= TimeDaylightSavings();
I'm a trader in Asia country, the forex market open local time is either 06:00 or 05:00 daily (broker's server time = 00:00). It is in winter period right now, the DLSSEc output = 0 and the forex market open local time is at 06:00.
I checked with 2 AI chatbots, both are giving me totally opposite answers on DLSSec.
AI Chatbot A :-
It said that the DLSSec is applying to and following the broker's server time to adjust, it means that :-
1) if the market open local time is at 06:00 (winter period) and the DLSSEc output = 0.
2) if the market open local time is at 05:00 (summer period) and the DLSSEc output = 3600 (1 hour).
AI Chatbot B :-
It said that the DLSSec is applying to and following the user's computer local time and my host country in Asia has no DLS, therefore :-
1) if the market open local time is at 06:00 (winter period) and the DLSSEc output = 0.
2) if the market open local time is at 05:00 (summer period) and the DLSSEc output = 0.
In other words, DLSSEc output is always 0 throughout the entire year.
Which is the correct answer ? Kindly advise, thanks
int DLSSec= TimeDaylightSavings();
I'm a trader in Asia country, the forex market open local time is either 06:00 or 05:00 daily (broker's server time = 00:00). It is in winter period right now, the DLSSEc output = 0 and the forex market open local time is at 06:00.
I checked with 2 AI chatbots, both are giving me totally opposite answers on DLSSec.
AI Chatbot A :-
It said that the DLSSec is applying to and following the broker's server time to adjust, it means that :-
1) if the market open local time is at 06:00 (winter period) and the DLSSEc output = 0.
2) if the market open local time is at 05:00 (summer period) and the DLSSEc output = 3600 (1 hour).
AI Chatbot B :-
It said that the DLSSec is applying to and following the user's computer local time and my host country in Asia has no DLS, therefore :-
1) if the market open local time is at 06:00 (winter period) and the DLSSEc output = 0.
2) if the market open local time is at 05:00 (summer period) and the DLSSEc output = 0.
In other words, DLSSEc output is always 0 throughout the entire year.
Which is the correct answer ? Kindly advise, thanks