diff --git a/src/examples/test_time.cpp b/src/examples/test_time.cpp
index 1e640a96eda8d77a7dd626879982d921272f4e97..7ebea9eb31131c7e1c158797d70f3b79ffb39468 100644
--- a/src/examples/test_time.cpp
+++ b/src/examples/test_time.cpp
@@ -273,7 +273,7 @@ int main(void)
     t2.useRef(true);
     t2.set();
     cout << "    t2:       " << t2 << "  Is ref used?: " << t2.isRefUsed() << endl << endl;
-
+    cout << "    t2:       " << t2.getTimeInSeconds() << endl;
 
   cout << "\n  Example: END\n\n";
 
diff --git a/src/time/ctime.cpp b/src/time/ctime.cpp
index 720ff233eea08322b86a927eabbfb911e112a635..29efe06295b857aa1a93a0c726342a1f24bc22a1 100644
--- a/src/time/ctime.cpp
+++ b/src/time/ctime.cpp
@@ -62,7 +62,7 @@ unsigned long CTime::nanoseconds(void)
 
 double CTime::getTimeInSeconds(void)
 {
-  return (double)(this->sec) + this->nsec/1000000000;
+  return (double)this->sec + (double)this->nsec/1000000000;
 }
 
 // IN MILLISECONDS (1234)
diff --git a/src/time/ctime.h b/src/time/ctime.h
index dac29fd89c59dc2c0c46007879089c8f848fd5bf..d2d13a25116f719bc363e82561e73c93a21ab106 100644
--- a/src/time/ctime.h
+++ b/src/time/ctime.h
@@ -181,11 +181,10 @@ class CTime
     /**
       * \brief Get time in seconds
       *
-      * This function returns the internal time in seconds with milliseconds
-      * resolution.
+      * This function returns the internal time as a double seconds.nanoseconds.
+      * If this value is very high the resolution after the comma could be changed
       *
-      * \return the internal time in seconds with milliseconds resolution (only
-      *         the first 3 decimal places have real meaning)
+      * \return the internal time in seconds
       *
       */
     double getTimeInSeconds(void);