Index: trunk/rtcm3torinex/lib/rtcm3torinex.c
===================================================================
--- trunk/rtcm3torinex/lib/rtcm3torinex.c	(revision 5329)
+++ trunk/rtcm3torinex/lib/rtcm3torinex.c	(revision 5332)
@@ -433,4 +433,7 @@
         if(sv)
           ge->flags |= GPSEPHF_L2PCODEDATA;
+        GETBITS(sv, 1)
+        if(sv)
+          ge->flags |= GPSEPHF_6HOURSFIT;
 
         i = ((int)ge->GPSweek - (int)handle->GPSWeek)*7*24*60*60
@@ -2532,5 +2535,6 @@
             ((double) e->SVhealth), e->TGD, ((double) e->IODC));
 
-            ConvLine(file, "   %19.12e%19.12e\n", ((double)e->TOW), 0.0);
+            ConvLine(file, "   %19.12e%19.12e\n", ((double)e->TOW),
+            i & GPSEPHF_6HOURSFIT ? 1.0 : 0.0);
             /* TOW */
           }
Index: trunk/rtcm3torinex/lib/rtcm3torinex.h
===================================================================
--- trunk/rtcm3torinex/lib/rtcm3torinex.h	(revision 5329)
+++ trunk/rtcm3torinex/lib/rtcm3torinex.h	(revision 5332)
@@ -326,4 +326,5 @@
 #define GPSEPHF_L2CACODE       (1<<2) /* set, if CA-code available, s1w3b11 */
 #define GPSEPHF_VALIDATED      (1<<3) /* data is completely valid */
+#define GPSEPHF_6HOURSFIT      (1<<4) /* Bit 17 Word 10 of subframe 2 is set to 1 */
 
 #define R2R_PI          3.1415926535898
