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 <[email protected]>
wrote:
> On Mon, Dec 27, 2010 at 11:51 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?
>
> 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 [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<android-developers%2Bunsubs 
> > [email protected]>
> > 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 [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

Reply via email to