How to get current time and date in android using the GPS

后端 未结 0 439
无人及你
无人及你 2021-02-01 01:52

This code gets the system clock that user can easy change with a wrong time.

import java.util.Calendar

Date currentTime = Calendar.getInstance().getTime();


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题