Index: /trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc
===================================================================
--- /trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc	(revision 12156)
+++ /trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc	(revision 12157)
@@ -5,4 +5,6 @@
  *      Author: lyard
  */
+//FIXME replace with FACT++ Time class
+#include <boost/date_time/local_time/local_time.hpp>
 
 
@@ -26,4 +28,5 @@
 #include "src/Configuration.h"
 #include "externals/fits.h"
+
 
 using namespace std;
@@ -729,5 +732,5 @@
         cout << "Missing column " << "SoftTrig" << " Aborting load..." << endl;
         nRoi = nRows = 0;return;}
-    if (!inputFile->SetPtrAddress("PCTime", &pcTime)){
+    if (!inputFile->SetPtrAddress("PCTime", pcTime)){
         cout << "Missing column " << "PCTime" << " Aborting load..." << endl;
         nRoi = nRows = 0;return;}
@@ -1314,5 +1317,5 @@
     }
      autoScalePressed();
-	 pixelChanged(viewer->selectedPixel);
+     pixelChanged(viewer->selectedPixel);
 
 }
@@ -1704,5 +1707,10 @@
         //retrieve the data that we want to display
     str.str("");
-    str << "PC Time: " << viewer->pcTime;
+    boost::posix_time::ptime hrTime( boost::gregorian::date(1970, boost::gregorian::Jan, 1),
+            boost::posix_time::seconds(viewer->pcTime[0]) +  boost::posix_time::microsec(viewer->pcTime[1]));
+//    cout <<  boost::posix_time::to_iso_extended_string(hrTime) << endl;
+    str << "PC Time: " << boost::posix_time::to_iso_extended_string(hrTime);
+ //   str << "PC Time: " << viewer->pcTime[0];
+ //   str << " " << viewer->pcTime[1];
     QString qstr = qstr.fromStdString(str.str());
     emit updateCurrentPCTime(qstr);
@@ -2182,6 +2190,6 @@
         return;
 
-//    if (hwID == pixel)
-//        return;
+ //   if (hwID == pixel)
+ //       return;
     for (int i=0;i<viewer->nRoi;i++)
     {
