 void setup() {
   Serial.begin(9600);    // initialize serial
   Bridge.begin();        // initialize Bridge
-  delay(2000);           // wait 2 seconds
-
+ 
   while(!Serial);                // wait for Serial Monitor to open
   Serial.println("Time Check");  // Title of sketch
 
   // run an initial date process. Should return:
   // hh:mm:ss :
   if (!date.running())  {
-    date.runShellCommand("date +%T");
+    date.begin("date");
+    date.addParameter("+%T");
+    date.run();
   }
 }
 


    // restart the date process:
    if (!date.running())  {
      date.runShellCommand("date +%T");
    }
  }


  } 

}
