Source/Source/CubeSatCamera.cpp
//gets local time in HH:MM:SS format
gets local time in HH:MM:SS format
gets local time in HH : MM : SS format
string CubeSatCamera::getTime() {
  time_t now = time(nullptr);
  tm *ltm = localtime(&now);
  long ms = CURRENT_TIME;
  return to_string(ltm -> tm_hour) + ":" + to_string(ltm -> tm_min) + ":" + to_string(ltm -> tm_sec) + " (" + to_string(ms) + ")";
}
string CubeSatCamera :: getTime ( ) { time_t now = time ( nullptr ) ; tm * ltm = localtime ( & now ) ; long ms = CURRENT_TIME ; return to_string ( ltm -> tm_hour ) + " " + to_string ( ltm -> tm_min ) + " " + to_string ( ltm -> tm_sec ) + " " + to_string ( ms ) + " " ; }
gets local time in HH:MM:SS format
gets local time in HH : MM : SS format