   if ( rtcRunning )
     return rtc.now();
   else
-    return compileTime.unixtime() + millis()/1000; 
+    return compileTime.unixtime() + millis()/50;  // 1000 for close to real time
 }
 
 /*******************************************************************************

#define DEBUG
#include <EEPROM.h>

// RTC

  pinMode(MODE_SWITCH_PIN,INPUT_PULLUP);

  EEPROM.get(MODE_INDEX,mode);
  if ( mode < 0 || mode >= sizeof(modes)/sizeof(char*))
    mode = 0;
  Serial.print(F("Got mode from eeprom ") );
  Serial.println(modes[mode]);

  int32_t wakeUnixTime;
  EEPROM.get(WAKE_INDEX,wakeUnixTime);
