Index: /trunk/FACT++/src/time.cc
===================================================================
--- /trunk/FACT++/src/time.cc	(revision 10252)
+++ /trunk/FACT++/src/time.cc	(revision 10253)
@@ -54,14 +54,14 @@
 
     // Stream the time in its sql representation into the stringstream
-    str << Time::sql << bd;
+    str << Time::ssql << bd;
 
     // Stream a time from the stringstream considering an sql representation
     // into a Time object
     Time tm;
-    str >> Time::sql >> tm;
+    str >> Time::ssql >> tm;
 
     // Output stream and interpreted time
     cout << "Stream: " << str.str() << endl; 
-    cout << "Time:   " << Time::sql << tm << endl;
+    cout << "Time:   " << Time::ssql << tm << endl;
     cout << endl;
 
@@ -73,4 +73,14 @@
     cout << endl;
 
+    // Set and get a Time from a string
+    const string s = "2042-12-24 12:42:42";
+
+    Time tstr;
+    tstr.SetFromStr(s);
+    cout << "String:      " << s << endl;
+    cout << "TimeFromStr: " << tstr.GetAsStr() << endl;
+    cout << endl;
+
+    // Calculate with times
     const Time t0;
     Time t1 = t0;
