Thanks Kristopher for your reply. On Dec 27, 12:06 pm, Kristopher Micinski <[email protected]> wrote: > http://sberka.blogspot.com/2009/07/date-time-sqlite-and-android.html > > That blog post should point you in the right direction. > > What you may really want to know is how SQLite handles date and time. > From what I've encountered there is no "native" date/time handling in > SQLite, but you can simply store dates / times in a textual > representation. The following articles may help give some insight: > > http://stackoverflow.com/questions/4248064/delphi-sqlite-date-time-fo... > > http://www.sqlite.org/lang_datefunc.html > > Typically what you will do is create some database implemented via a > content provider or just database handler (see the many, many > tutorials on how to do this) and create a table for storing your > relevant information. For example, I have a "contents" table, where > one of the columns is the date an article was published. Now the only > thing you have to figure out is the marshaling. > > Thanks, > Kris Micinski > > On Mon, Dec 27, 2010 at 1:21 AM, pramod.deore <[email protected]> > wrote: > > Hi everyone, > > In my application I have 2 buttons one for DatePickerand > > one for Timepicker. Date piker gives me date in this format - > > 12-27-2010 and time in - 11:48. Now I want to create table to store > > these values. How to store date and time in android database? > > Thanks. > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > >
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

