android - How to retreive DATETIME format from Sqlite database -



android - How to retreive DATETIME format from Sqlite database -

i have stored date (java.util.date object) in datetime field of sqlite table. now, how retrieve date of same format java.util.date. want compare time difference (in milliseconds) between current date , store date.

any help highly appreciated.

retrieve cursor.getstring() , pass value simpledateformat create date object. there no straight method getting date object.

android sqlite java.util.date

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -