Index: trunk/BNS/bnseph.cpp
===================================================================
--- trunk/BNS/bnseph.cpp	(revision 1920)
+++ trunk/BNS/bnseph.cpp	(revision 1923)
@@ -698,5 +698,5 @@
 int t_ephGlo::IOD() const {
 
-  bool old = true;
+  bool old = false;
 
   if (old) { // 5 LSBs of iod are equal to 5 LSBs of tb
@@ -706,9 +706,6 @@
     return (iod >> shift);
   }
-  else     {  // 7 LSBs of iod are equal to 7 LSBs of tk
-    unsigned tk = int(_tki);
-    const int shift = sizeof(tk) * 8 - 7;
-    unsigned int iod = tk << shift;
-    return (iod >> shift);
-  }
-}
+  else     {  
+    return int(fmod(_tki, 3600)) / 30;
+  }
+}
