Is there a date type in sqlite? If not we should store date as milliseconds number