Index: /trunk/FACT++/src/Time.cc
===================================================================
--- /trunk/FACT++/src/Time.cc	(revision 11392)
+++ /trunk/FACT++/src/Time.cc	(revision 11393)
@@ -186,4 +186,13 @@
 // --------------------------------------------------------------------------
 //
+// @returns seconds since 1970/1/1
+//
+time_t Time::Time_t() const
+{
+    return (date().modjulian_day()-40587)*24*60*60 + time_of_day().total_seconds();
+}
+
+// --------------------------------------------------------------------------
+//
 //! @returns the time in a format needed for root's TAxis
 //!
Index: /trunk/FACT++/src/Time.h
===================================================================
--- /trunk/FACT++/src/Time.h	(revision 11392)
+++ /trunk/FACT++/src/Time.h	(revision 11393)
@@ -94,4 +94,5 @@
     double SecondsOfDay() const;
 
+    time_t Time_t() const;
     double UnixTime() const;
     double RootTime() const;
