Index: /branches/BNC_2.11.0/src/RTCM3/RTCM3coDecoder.cpp
===================================================================
--- /branches/BNC_2.11.0/src/RTCM3/RTCM3coDecoder.cpp	(revision 6610)
+++ /branches/BNC_2.11.0/src/RTCM3/RTCM3coDecoder.cpp	(revision 6611)
@@ -203,5 +203,7 @@
           int leapSecond = gnumleap(date.year(), date.month(), date.day());
           int GPSDaySec  = GLONASSEpochTime - 3 * 3600 + leapSecond;
-
+          if (GPSDaySec < 0) {
+        	  GPSDaySec += 86400;
+          }
           int weekDay      = int(GPSweeksHlp/86400.0); 
           int GPSDaySecHlp = int(GPSweeksHlp) - weekDay * 86400;
