- time_t buildTime = (time_t)iBuildDate;
- strLog.AppendFormat(", firmware build date: %s +0000", asctime(gmtime(&buildTime)));
- strLog = strLog.Left(strLog.length() - 1); // strip \n added by asctime
+ time_t buildTime = (time_t)m_configuration.iFirmwareBuildDate;
+ strLog.AppendFormat(", firmware build date: %s", asctime(gmtime(&buildTime)));
+ strLog = strLog.Left((int)strLog.length() - 1); // strip \n added by asctime
+ strLog.append(" +0000");