Added time zone offset in DateTime and modified code accordingly, including the GUI.

Used explicit integer types for DateTime for compatibility between 32 bit and 64 bit OSes.
Fix for lask of struct tm gmtoff in VS2012. Add IntTypes.h to CMake.