For that to sort by date and time properly, you'll have to change the
text format!

On Dec 26, 10:29 pm, Nandlal Viranni <nandlal.phys...@gmail.com>
wrote:
> On Mon, Dec 27, 2010 at 11:51 AM, pramod.deore 
> <deore.pramo...@gmail.com>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?
>
> Its very simple..
>  create SQLITE database for this.
>
> Use attached java file for creating database.
> Change file according your requirement..
> It will automatically creates database in your project..
>
>
>
>
>
>
>
>
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com<android-developers%2Bunsubs 
> > cr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
>  DBAdapter.java
> 8KViewDownload

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to