diff --git a/src/time_stamp.cpp b/src/time_stamp.cpp
index 6846ca683cca2b4639c8c6e448a67c94b0b6b49a..738ff922b19ba77cfefc2bc19117fa294011a2e2 100644
--- a/src/time_stamp.cpp
+++ b/src/time_stamp.cpp
@@ -14,7 +14,7 @@ std::ostream& operator<<(std::ostream& os, const TimeStamp& _ts)
     //    std::streamsize nn;
     //    nn = os.precision(TimeStamp::TIME_STAMP_DIGITS_);
 
-    os << _ts.time_stamp_; // write obj to stream
+    os << _ts.getSeconds() << "." << _ts.getNanoSeconds(); // write obj to stream
     return os;
 }