Reading User's System Time

 
I want to write an EA so the user can enter trading times using local time instead of broker time. I've seen people reference the kernel32.dll and other system dlls.

Does anyone know which dlls and functions I can reference to get the local computer's DateTime.Now?
 
I'm going to assume you overlooked the built-in mql functions. Check out the reference again. Specifically TimeLocal(). And use it with the other time functions like TimeHour() and TimeMinute().
 
Excellent - thanks.