How to get the current Time

前端 未结 7 2070
陌清茗
陌清茗 2021-01-04 11:28

How to get the current time in Android?

When i use

int hours = java.sql.Time.this.getHours();

i get the error:

No          


        
7条回答
提交回复
热议问题