Just wondering if anybody has used the TimeZoneInfo class in Mt4/Mql4 to determine daylight savings time?
I've just had a play with it in a .NET console app and it does what I need, merely returning boolean for if a given datetime is daylight savings time for a specified timezone (NOT the server timezone).
But migrating this into MQL4 is going to be a bit more of a challenge for me and C++ code examples on the net are thin on the ground.
I'm not sure at this stage whether I should try write my own DLL for the job or not. I'd appreciate some advice if anybody has it!
I've just had a play with it in a .NET console app and it does what I need, merely returning boolean for if a given datetime is daylight savings time for a specified timezone (NOT the server timezone).
But migrating this into MQL4 is going to be a bit more of a challenge for me and C++ code examples on the net are thin on the ground.
I'm not sure at this stage whether I should try write my own DLL for the job or not. I'd appreciate some advice if anybody has it!