Index: fact/tools/pyscripts/pyfact/pyfact.py
===================================================================
--- fact/tools/pyscripts/pyfact/pyfact.py	(revision 14468)
+++ fact/tools/pyscripts/pyfact/pyfact.py	(revision 14469)
@@ -177,4 +177,5 @@
             #:  starting at 1
             self.event_id     = None
+            
             #: data=4 ; the rest I don't know by heart .. should be documented here :-)
             self.trigger_type = None
@@ -185,4 +186,6 @@
             #: each FAD has an onboard clock running from startup time. Currently I don't know the time unit. However this is an array of 40 times, since we have 40 boards. 
             self.board_times = np.zeros( 40, np.int32 )
+            self._unixtime_tuple = np.zeros( 2, np.int32 )
+            self.unixtime = None
 
             # data_file             is a CalFactFits object
@@ -191,4 +194,6 @@
             data_file.datafile.SetPtrAddress('StartCellData', self.start_cells)
             data_file.datafile.SetPtrAddress('BoardTime', self.board_times)
+            data_file.datafile.SetPtrAddress('UnixTimeUTC', self._unixtime_tuple)
+            
 
         else:
@@ -212,4 +217,5 @@
             self.start_cells = np.zeros( self.npix, np.int16 )
             self.board_times = np.zeros( 40, np.int32 )
+            self._unixtime_tuple = np.zeros(2, np.int32 )
 
             # set the pointers to the data++
@@ -219,4 +225,5 @@
             data_file.SetPtrAddress('Data', self.data) 
             data_file.SetPtrAddress('BoardTime', self.board_times) 
+            data_file.SetPtrAddress('UnixTimeUTC', self._unixtime_tuple) 
                     
             # open the calibration file
@@ -271,4 +278,7 @@
                 #self.board_times  = self.data_file.event_boardtimes
                 #self.acal_data    = self.data.copy().reshape(self.data_file.npix, self.data_file.nroi)
+
+                self.unixtime = self._unixtime_tuple[0] + self._unixtime_tuple[1]/1.e6
+
         else:
             if self.data_file.GetNextRow() == False:
