Reputation: 12440
How can I easily get date and time as integer values in Android?
Upvotes: 2
Views: 3016
Reputation: 35341
I guess that the getTime() function of the java.util.Date class will do the trick too.
Upvotes: 1
Reputation:
Show here:
http://developer.android.com/reference/android/os/SystemClock.html
To get the wall clock you just have to call:
System.currentTimeMillis();
Upvotes: 0