Dear SgAlmeida,
everthing in SQlite is stored as a string. Even the Field wihch are marked 
as integer or numeric.
When it's possible you should Cast your Date Value to a Long Value (Unix 
Date) and store that long value in an integer Field of the sqlite database.

regards

Michael



Am Mittwoch, 28. März 2012 16:17:38 UTC+2 schrieb sgalmeida:
>
> Hello you all :) 
>
> please let me ask one question about SQLite and Android, more 
> specifically the use of dates stored on tables in SQLite. 
>
> I'm developing a simple app to keep to dos and task on android mobile 
> phone using SQLite to store the data. My table is quite simple: has a 
> field ID, a field Task and a field DueDate. 
>
> How can I store and retrieve using JAVA the task's due date on SQLite? 
> There is no cursor.GetDate :( Anyone can please help me? 
>
> Thank you very much! 
>
> Almeida

-- 
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