Im using SQLite and trying to get my date into a blackberry datetime field.
in the DB its stored as string in format:
yyyy-MM-dd HH:mm
e.g. : 2012-02-01 15:45
But the field wants it as a Long.
date - The initial date value for this field. This is the number of milliseconds since midnight on January 1, 1970. To create an empty date field, set this parameter to Long.MIN_VALUE. This method will then remove the date value from this field, setting it to null.
And then convert it back again.