diff --git a/js/app/views/TimeSelectorUI.js b/js/app/views/TimeSelectorUI.js
index 7f0573d..dd71486 100644
--- a/js/app/views/TimeSelectorUI.js
+++ b/js/app/views/TimeSelectorUI.js
@@ -42,6 +42,11 @@ Ext.define('amdaUI.TimeSelectorUI', {
 		if (index === 0) this.TTGrid.getStore().loadData(arrayRec);
 	},
     
+	timeFormat : function(time){
+		return time.substring(0,4) +'/'+ time.substring(5,7)+'/'+time.substring(8,10)
+				+' '+time.substring(11,19)+'.000';
+	},
+
 	addTT : function(newTTName,newTTid) {      
 		// set the TimeTable radio checked
 		var obj = new Object();  
@@ -144,7 +149,7 @@ Ext.define('amdaUI.TimeSelectorUI', {
 			if (cellIndex == 2)
 			this.TTGrid.getStore().remove(record);
 		}, this);
-
+		const self = this;
 		this.intervalSel = Ext.create('amdaUI.IntervalUI', 
 		{
 			itemId: 2,
@@ -189,26 +194,25 @@ Ext.define('amdaUI.TimeSelectorUI', {
 								|| data.records[0].get('nodeType') == 'sharedcatalog')
 							{
 								AmdaAction.getObject(data.records[0].get('id'), data.records[0].get('nodeType'),  function (result, remoteEvent) {
-									surveyStart = result['surveyStart'];
-									surveyStop = result['surveyStop'];
-									if(surveyStart.substring(19,23) == "" && surveyStop.substring(19,23) == "")
-									{
-										surveyStart += '.000Z';
-										surveyStop += ".000Z";
-									}
-									surveyStart = '2008/01/01 01:00:00.000';
-									surveyStop = '2008/01/02 01:00:00.000';
-									console.log(surveyStart + " " + surveyStop);
-									targetModule.getUiContent().setTimeFromData({ start : surveyStart, stop  : surveyStop}); 
+									surveyStart = self.timeFormat(result['surveyStart']);
+									surveyStop = self.timeFormat(result['surveyStop']);
+
+									me.setStartTime(surveyStart);
+									me.setStopTime(surveyStop);
+									//targetModule.getUiContent().setTimeFromData({ start : surveyStart, stop  : surveyStop}); 
 								}, this);
 								return true;
 							}
 							else{
-								console.log(data.records[0].get('globalStart'));
-								
-								targetModule.getUiContent().setTimeFromData({ start : data.records[0].get('globalStart'),
-																							stop  : data.records[0].get('globalStop')});     
-								me.updateDuration();
+								surveyStart = self.timeFormat(data.records[0].get('globalStart'));
+								surveyStop = self.timeFormat(data.records[0].get('globalStop'));
+									
+								//targetModule.getUiContent().setTimeFromData({ start : surveyStart,
+								//													stop  :surveyStart});     
+
+								me.setStartTime(surveyStart);
+								me.setStopTime(surveyStop);
+								//me.updateDuration();
 								return true;
 
 							}
--
libgit2 0.21.2