modified getBeaconTime return formmat