Time displayed in Logcat

前端 未结 6 651
野趣味
野趣味 2021-02-01 13:45

I need to get the Android device timestamp in the format hh:mm:ss:SS. I am able to view the time displayed in the Logcat of Eclipse. Is it the computer\'s time or is it the Andr

6条回答
  •  后悔当初
    2021-02-01 14:15

    Taken from Reading and Writing Logs on the Developer Site:

    "time — Display the date, invocation time, priority/tag, and PID of the process issuing the message."

    On the emulator it will be your computers time, on a device it will be time of your device...

提交回复
热议问题