如果是TextClock的话,直接 用TextClock.getFormat24Hour(),其实这都是系统的时间,你甚至直接使用System.currentTimeMillis();就可以了(这个获取的是毫秒级的long时间戳)