java - NSTimeInterval equivalent in android -


this question has answer here:

does know how implement

 nstimeinterval stamp=[[nsdate date] timeintervalsince1970];  

in android?

i suppose require new java.util.date().gettime()

not specific android in way though. java.

it returns long primitive timestamp.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

jquery - How can I dynamically add a browser tab? -