Index: trunk/BNC/bncapp.cpp
===================================================================
--- trunk/BNC/bncapp.cpp	(revision 565)
+++ trunk/BNC/bncapp.cpp	(revision 566)
@@ -147,6 +147,5 @@
 
   if (_logStream) {
-    *_logStream << QDate::currentDate().toString("yy-MM-dd ").toAscii().data();
-    *_logStream << QTime::currentTime().toString("hh:mm:ss ").toAscii().data();
+    *_logStream << QDateTime::currentDateTime().toUTC().toString("yy-MM-dd hh:mm:ss ").toAscii().data();
     *_logStream << msg.data() << endl;
     _logStream->flush();
@@ -238,5 +237,5 @@
   if (!_ephPath.isEmpty()) {
 
-    QDateTime datTim = QDateTime::currentDateTime();
+    QDateTime datTim = QDateTime::currentDateTime().toUTC();
 
     QString hlp = (_rinexVers == 3) ? "MIX_" : "GPS_";
@@ -327,5 +326,5 @@
         *_ephStreamGPS << line;
         
-        QString hlp = QDateTime::currentDateTime().toString("yyyyMMdd hhmmss UTC").leftJustified(20, ' ', true);
+        QString hlp = QDateTime::currentDateTime().toUTC().toString("yyyyMMdd hhmmss UTC").leftJustified(20, ' ', true);
         *_ephStreamGPS << _pgmName.toAscii().data() 
                        << _userName.toAscii().data() 
@@ -349,5 +348,5 @@
         *_ephStreamGPS << line;
          
-        QString hlp = QDate::currentDate().toString("dd-MMM-yyyy").leftJustified(20, ' ', true);
+        QString hlp = QDateTime::currentDateTime().toUTC().date().toString("dd-MMM-yyyy").leftJustified(20, ' ', true);
         *_ephStreamGPS << _pgmName.toAscii().data() 
                        << _userName.toAscii().data() 
@@ -366,5 +365,5 @@
         *_ephStreamGlonass << line;
         
-        QString hlp = QDate::currentDate().toString("dd-MMM-yyyy").leftJustified(20, ' ', true);
+        QString hlp = QDateTime::currentDateTime().toUTC().date().toString("dd-MMM-yyyy").leftJustified(20, ' ', true);
         *_ephStreamGlonass << _pgmName.toAscii().data() 
                            << _userName.toAscii().data() 
