Build 3.0.0.148 of xlsgen uses local time (WIN32 API call) in the calculation engine as well as calculated members such as header/footer datetime. Before this build, xlsgen was using system time (another WIN32 API call) thinking that this always returned the correct time, and turns out it does not. We would get up to two hours difference by using the system time.