android - Storing date-time values -
from this link read best data type storing date-time values in sqlite integer
.
what best format should used store current date , time said attribute? simpledateformat
accepts strings, yet datatype integer
.
you store time in milliseconds. retrieve date
object simpledateformat , equivalent value in ms long milliseconds = date.gettime ();
. store milliseconds
Comments
Post a Comment